调整xorm层级

This commit is contained in:
2023-01-18 16:00:50 +08:00
parent 0f8c1f989b
commit a89c86023e
67 changed files with 500 additions and 460 deletions
+10
View File
@@ -0,0 +1,10 @@
package dataobject
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"
}