goweb-gin-demo/server/model/system/sys_user_authority.go

11 lines
262 B
Go
Raw Normal View History

2021-11-10 11:11:14 +08:00
package system
2021-10-29 14:39:50 +08:00
type SysUseAuthority struct {
SysUserId uint `gorm:"column:sys_user_id"`
SysAuthorityAuthorityId string `gorm:"column:sys_authority_authority_id"`
}
func (s *SysUseAuthority) TableName() string {
return "sys_user_authority"
}