This commit is contained in:
邹宗楠
2023-03-30 13:51:54 +08:00
parent 95ccc9e2c1
commit 69f90218e9
4 changed files with 156 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ type User struct {
Address string `orm:"size(255)" json:"address"`
IDCardNo string `orm:"size(18);column(id_card_no)" json:"idCardNo" compact:"idCardNo"` // 身份证号
Remark string `orm:"size(255)" json:"remark"`
LastAt *time.Time `orm:"null" json:"lastLoginAt"`
LastLoginAt *time.Time `orm:"null" json:"lastLoginAt"`
LastLoginIP string `orm:"size(64);column(last_login_ip)" json:"lastLoginIP"`
LastLoginType string `orm:"size(16)" json:"lastLoginType"`
LastBrandID int `orm:"column(last_brand_id)" json:"lastBrandID"`