Files
TrangleAgent/Backend/internal/model/entity/user_department.go

19 lines
1.0 KiB
Go
Raw Normal View History

2026-01-18 18:20:40 +08:00
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// UserDepartment is the golang structure for table user_department.
type UserDepartment struct {
Id uint64 `json:"id" orm:"id" description:""` //
UserId uint64 `json:"userId" orm:"user_id" description:"用户ID对应 users.id"` // 用户ID对应 users.id
DeptId uint64 `json:"deptId" orm:"dept_id" description:"部门ID对应 department.id"` // 部门ID对应 department.id
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
}