调整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 SysUserPost struct {
UserId int64 `json:"userId"` // 用户id
PostId int64 `json:"postId"` // 部门id
}
func (SysUserPost) TableName() string {
return "sys_user_post"
}