// ================================================================================= // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity import ( "github.com/gogf/gf/v2/os/gtime" ) // 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:"软删除时间戳"` // 软删除时间戳 BackgroundUrl string `json:"backgroundUrl" orm:"background_url" description:"作者背景图"` // 作者背景图 AttentionCount int `json:"attentionCount" orm:"attention_count" description:"关注他人的数量 attention count"` // 关注他人的数量 attention count }