sys_user_authority.go 322 B

1234567891011
  1. package system
  2. // SysUserAuthority 是 sysUser 和 sysAuthority 的连接表
  3. type SysUserAuthority struct {
  4. SysUserId uint `gorm:"column:sys_user_id"`
  5. SysAuthorityAuthorityId uint `gorm:"column:sys_authority_authority_id"`
  6. }
  7. func (s *SysUserAuthority) TableName() string {
  8. return "sys_user_authority"
  9. }