Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SysClient ¶
type SysClient struct { base.PolestarModel ClientId string `gorm:"type:varchar(20);index;not null"` ClientSecret string `gorm:"type:varchar(100)"` GrantTypes string `gorm:"type:varchar(200)"` Scope string `gorm:"type:varchar(200)"` AccessTokenDuration int `gorm:"type:int;default:20"` RefreshTokenDuration int `gorm:"type:int;default:10080"` Comment string `gorm:"type:varchar(200)"` Status string `gorm:"type:varchar(2);default:\"00\""` }
type SysPermission ¶
type SysRolePermission ¶
type SysRolePermission struct { base.PolestarModel RoleId int `gorm:"type:int(10)"` PermissionId int `gorm:"type:int(10)"` }
type SysUser ¶
type SysUser struct { base.PolestarModel UserName string `gorm:"type:varchar(100);unique_index;not null"` Name string `gorm:"type:varchar(45)"` Password string `gorm:"type:varchar(200)"` HeaderImage string `gorm:"type:varchar(200)"` Comment string `gorm:"type:varchar(400)"` Status string `gorm:"type:varchar(2);default:\"00\""` }
type SysUserRole ¶
type SysUserRole struct { base.PolestarModel UserId int `gorm:"type:int(10)"` RoleId int `gorm:"type:int(10)"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.