- User添加Remark

This commit is contained in:
gazebo
2019-08-06 11:49:42 +08:00
parent 438879ac4f
commit baa9157949
3 changed files with 12 additions and 8 deletions

View File

@@ -31,6 +31,7 @@ type User struct {
Status int8 `json:"status"`
Type int8 `json:"type"` // 用户类型
IDCardNo string `orm:"size(18);column(id_card_no)" json:"idCardNo"` // 身份证号
Remark string `orm:"size(255)" json:"remark"`
}
func (*User) TableUnique() [][]string {