23 lines
1.6 KiB
Go
23 lines
1.6 KiB
Go
|
|
// =================================================================================
|
|||
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|||
|
|
// =================================================================================
|
|||
|
|
|
|||
|
|
package entity
|
|||
|
|
|
|||
|
|
import (
|
|||
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|||
|
|
)
|
|||
|
|
|
|||
|
|
// Department is the golang structure for table department.
|
|||
|
|
type Department struct {
|
|||
|
|
Id uint64 `json:"id" orm:"id" description:"自增主键"` // 自增主键
|
|||
|
|
UserId uint64 `json:"userId" orm:"user_id" description:"所属用户ID(对应 users.id)"` // 所属用户ID(对应 users.id)
|
|||
|
|
BranchName string `json:"branchName" orm:"branch_name" description:"分部名称"` // 分部名称
|
|||
|
|
TerminalCount int `json:"terminalCount" orm:"terminal_count" description:"分部散逸端的数量"` // 分部散逸端的数量
|
|||
|
|
Weather string `json:"weather" orm:"weather" description:"分部当前天气/气候描述"` // 分部当前天气/气候描述
|
|||
|
|
ManagerName string `json:"managerName" orm:"manager_name" description:"分部经理名称"` // 分部经理名称
|
|||
|
|
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
|
|||
|
|
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
|||
|
|
Location string `json:"location" orm:"location" description:"地址"` // 地址
|
|||
|
|
}
|