|
|
@@ -35,6 +35,9 @@ type DtUser struct {
|
|
|
RegisterDevice string `json:"registerDevice" gorm:"column:register_device;type:varchar(255);comment:注册设备"`
|
|
|
LastLoginTime int64 `json:"lastLoginTime" gorm:"column:last_login_time;type:bigint;comment:最后登录时间"`
|
|
|
LastLoginIp string `json:"lastLoginIp" gorm:"column:last_login_ip;type:varchar(64);comment:最后登录IP"`
|
|
|
+ Gender int8 `json:"gender" gorm:"column:gender;type:tinyint;default:0;comment:性别: 0=未知 1=男 2=女"`
|
|
|
+ Age int `json:"age" gorm:"column:age;type:int;default:0;comment:年龄"`
|
|
|
+ Region string `json:"region" gorm:"column:region;type:varchar(128);comment:地区"`
|
|
|
Remark string `json:"remark" gorm:"column:remark;type:varchar(255);comment:备注"`
|
|
|
CreatedAt int64 `json:"createdAt" gorm:"column:created_at;type:bigint;autoCreateTime;comment:创建时间"`
|
|
|
UpdatedAt int64 `json:"updatedAt" gorm:"column:updated_at;type:bigint;autoUpdateTime;comment:更新时间"`
|