cutego/modules/core/dataobject/sys_user_role.go

11 lines
219 B
Go
Raw Normal View History

2023-01-18 16:00:50 +08:00
package dataobject
2022-03-01 13:50:13 +08:00
type SysUserRole struct {
UserId int64 `xorm:"pk" json:"userId"` // 用户id
RoleId int64 `xorm:"pk" json:"roleId"` // 角色id
}
func (SysUserRole) TableName() string {
return "sys_user_role"
}