// ================================================================================= // 本文件由 GoFrame CLI 工具生成并维护,请勿编辑。 // ================================================================================= package entity import ( "github.com/gogf/gf/v2/os/gtime" ) // User 是表 user 的 Go 结构体。 type User struct { Id uint64 `json:"id" orm:"id" description:""` // UnionId string `json:"unionId" orm:"union_id" description:""` // OpenId string `json:"openId" orm:"open_id" description:""` // Mobile string `json:"mobile" orm:"mobile" description:""` // Account string `json:"account" orm:"account" description:""` // PasswordHash string `json:"passwordHash" orm:"password_hash" description:""` // Nickname string `json:"nickname" orm:"nickname" description:""` // Avatar string `json:"avatar" orm:"avatar" description:""` // Status int `json:"status" orm:"status" description:""` // LastLoginAt *gtime.Time `json:"lastLoginAt" orm:"last_login_at" 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:""` // }