feat:完善入驻信息管理

This commit is contained in:
henry
2021-12-03 14:18:06 +08:00
parent 25ac50bb51
commit 851a2c1784
44 changed files with 192 additions and 190 deletions

View File

@ -11,11 +11,11 @@ type UserIdentity struct {
Model
UUID uint64 `gorm:"column:uuid;uniqueIndex:idx_user_manage_uuid;type:int;default:0;comment:用户唯一UUID" json:"-"`
UID uint64 `gorm:"column:uid;index:idx_user_manage_uid;type:int;default:0;comment:用户表UUID" json:"-"`
Name string `gorm:"column:name;type:varchar(20);default:null;comment:真实姓名" json:"name"`
Email string `gorm:"column:email;type:varchar(50);default:null;comment:邮箱" json:"email"`
Job string `gorm:"column:job;type:varchar(50);default:null;comment:职务" json:"job"`
FixedPhone string `gorm:"column:fixed_phone;type:varchar(20);default:null;comment:固定电话" json:"fixed_phone"`
Address string `gorm:"column:address;type:varchar(255);default:null;comment:详细地址" json:"address"`
Name string `gorm:"column:name;type:varchar(20);default:'';comment:真实姓名" json:"name"`
Email string `gorm:"column:email;type:varchar(50);default:'';comment:邮箱" json:"email"`
Job string `gorm:"column:job;type:varchar(50);default:'';comment:职务" json:"job"`
FixedPhone string `gorm:"column:fixed_phone;type:varchar(20);default:'';comment:固定电话" json:"fixed_phone"`
Address string `gorm:"column:address;type:varchar(255);default:'';comment:详细地址" json:"address"`
Identity int `gorm:"column:identity;type:tinyint(3);default:0;comment:身份信息" json:"-"`
IsSelected UserIdentitySelected `gorm:"column:is_selected;type:tinyint(1);default:0;comment:最后一次选中的身份信息" json:"-"`
ModelDeleted