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