JM-WechatMini/model/system/sys_user_authority.go

12 lines
322 B
Go
Raw Normal View History

2023-11-02 04:34:46 +08:00
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"
}