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"
|
||
|
}
|