✨ init project
This commit is contained in:
11
model/system/sys_user_authority.go
Normal file
11
model/system/sys_user_authority.go
Normal file
@@ -0,0 +1,11 @@
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user