feat: 接入商务用户资料和全局统计偏好
This commit is contained in:
@@ -25,6 +25,13 @@ type userPO struct {
|
||||
OriginSetting string `gorm:"type:text"`
|
||||
PasswordUpdatedAt *time.Time
|
||||
MustChangePassword bool
|
||||
Level int `gorm:"type:tinyint unsigned;not null;default:0"`
|
||||
ParentID uint `gorm:"not null;default:0;index:idx_sys_users_business_parent"`
|
||||
IDPath string `gorm:"column:id_path;size:255;not null;default:0"`
|
||||
RealName string `gorm:"size:30;not null;default:''"`
|
||||
QQNumber string `gorm:"column:qq_number;size:20;not null;default:''"`
|
||||
BusinessStatus int `gorm:"type:tinyint unsigned;not null;default:0"`
|
||||
RejectReason string `gorm:"size:200;not null;default:''"`
|
||||
}
|
||||
|
||||
func (userPO) TableName() string { return "sys_users" }
|
||||
|
||||
Reference in New Issue
Block a user