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

@ -4,8 +4,8 @@ type SysUserTenant struct {
Model
ModelTenant
UID uint64 `gorm:"column:uid;type:int;default:0;comment:用户uuid" json:"-"`
Department string `gorm:"column:department;type:varchar(100);default:null;comment:部门信息" json:"department"`
Role string `gorm:"column:role;type:varchar(100);default:null;comment:角色信息" json:"role"`
Department string `gorm:"column:department;type:varchar(100);default:'';comment:部门信息" json:"department"`
Role string `gorm:"column:role;type:varchar(100);default:'';comment:角色信息" json:"role"`
Identity SysUserTenantIdentity `gorm:"column:identity;type:tinyint(1);default:0;comment:用户身份1管理员2用户" json:"-"`
ModelDeleted
ModelAt