Some checks failed
CI / init (push) Has been cancelled
CI / Frontend node 18.16.0 (push) Has been cancelled
CI / Backend go (1.22) (push) Has been cancelled
CI / devops-test (1.22, 18.16.0) (push) Has been cancelled
CI / release-pr (push) Has been cancelled
CI / release-please (push) Has been cancelled
CI / devops-prod (1.22, 18.x) (push) Has been cancelled
CI / docker (push) Has been cancelled
12 lines
322 B
Go
12 lines
322 B
Go
package system
|
|
|
|
// SysUserAuthority 是 sysUser 和 sysAuthority 的连接表
|
|
type SysUserAuthority struct {
|
|
SysUserId uint `gorm:"column:sys_user_id"`
|
|
SysAuthorityAuthorityId uint `gorm:"column:sys_authority_authority_id"`
|
|
}
|
|
|
|
func (s *SysUserAuthority) TableName() string {
|
|
return "sys_user_authority"
|
|
}
|