init
This commit is contained in:
20
Backend/internal/model/do/user_department.go
Normal file
20
Backend/internal/model/do/user_department.go
Normal file
@@ -0,0 +1,20 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// UserDepartment is the golang structure of table user_department for DAO operations like Where/Data.
|
||||
type UserDepartment struct {
|
||||
g.Meta `orm:"table:user_department, do:true"`
|
||||
Id any //
|
||||
UserId any // 用户ID(对应 users.id)
|
||||
DeptId any // 部门ID(对应 department.id)
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
Reference in New Issue
Block a user