Browse Source
Merge pull request #671 from SliverHorn/sliver_horn_develop
update: model/system/sys_user.go comment 错误
main
奇淼(piexlmax
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
server/model/system/sys_user.go
|
|
@ -11,11 +11,11 @@ type SysUser struct { |
|
|
|
Username string `json:"userName" gorm:"comment:用户登录名"` // 用户登录名
|
|
|
|
Password string `json:"-" gorm:"comment:用户登录密码"` // 用户登录密码
|
|
|
|
NickName string `json:"nickName" gorm:"default:系统用户;comment:用户昵称"` // 用户昵称
|
|
|
|
SideMode string `json:"sideMode" gorm:"default:dark;comment:用户侧边主题"` // 用户侧边主题
|
|
|
|
HeaderImg string `json:"headerImg" gorm:"default:http://qmplusimg.henrongyi.top/head.png;comment:用户头像"` // 用户头像
|
|
|
|
BaseColor string `json:"baseColor" gorm:"default:#fff;comment:基础颜色"` // 基础颜色
|
|
|
|
ActiveColor string `json:"activeColor" gorm:"default:#1890ff;comment:活跃颜色"` // 活跃颜色
|
|
|
|
AuthorityId string `json:"authorityId" gorm:"default:888;comment:用户角色ID"` // 用户角色ID
|
|
|
|
Authority SysAuthority `json:"authority" gorm:"foreignKey:AuthorityId;references:AuthorityId;comment:用户角色"` |
|
|
|
AuthorityId string `json:"authorityId" gorm:"default:888;comment:用户角色ID"` // 用户角色ID
|
|
|
|
SideMode string `json:"sideMode" gorm:"default:dark;comment:用户角色ID"` // 用户侧边主题
|
|
|
|
ActiveColor string `json:"activeColor" gorm:"default:#1890ff;comment:用户角色ID"` // 活跃颜色
|
|
|
|
BaseColor string `json:"baseColor" gorm:"default:#fff;comment:用户角色ID"` // 基础颜色
|
|
|
|
Authorities []SysAuthority `json:"authorities" gorm:"many2many:sys_user_authority;"` |
|
|
|
} |