书籍列表接口新增参数
This commit is contained in:
@ -10,13 +10,15 @@ import (
|
||||
|
||||
// Users is the golang structure for table users.
|
||||
type Users struct {
|
||||
Id int64 `json:"id" orm:"id" description:"用户ID"` // 用户ID
|
||||
Username string `json:"username" orm:"username" description:"用户名"` // 用户名
|
||||
PasswordHash string `json:"passwordHash" orm:"password_hash" description:"密码哈希"` // 密码哈希
|
||||
Avatar string `json:"avatar" orm:"avatar" description:"头像URL"` // 头像URL
|
||||
Email string `json:"email" orm:"email" description:"邮箱"` // 邮箱
|
||||
Points uint64 `json:"points" orm:"points" description:"积分"` // 积分
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"注册时间"` // 注册时间
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间戳"` // 软删除时间戳
|
||||
Id int64 `json:"id" orm:"id" description:"用户ID"` // 用户ID
|
||||
Username string `json:"username" orm:"username" description:"用户名"` // 用户名
|
||||
PasswordHash string `json:"passwordHash" orm:"password_hash" description:"密码哈希"` // 密码哈希
|
||||
Avatar string `json:"avatar" orm:"avatar" description:"头像URL"` // 头像URL
|
||||
Email string `json:"email" orm:"email" description:"邮箱"` // 邮箱
|
||||
Points uint64 `json:"points" orm:"points" description:"积分"` // 积分
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"注册时间"` // 注册时间
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间戳"` // 软删除时间戳
|
||||
BackgroundUrl string `json:"backgroundUrl" orm:"background_url" description:"作者背景图"` // 作者背景图
|
||||
AttentionCount int `json:"attentionCount" orm:"attention_count" description:"关注他人的数量 attention count"` // 关注他人的数量 attention count
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user