Files
TrangleAgent/Backend/internal/model/department.go
2026-01-18 18:20:40 +08:00

19 lines
1023 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package model
import (
"github.com/gogf/gf/v2/os/gtime"
)
// Department 三角机构分部表
type Department struct {
Id uint64 `json:"id" orm:"id" description:"自增主键"`
UserId uint64 `json:"userId" orm:"user_id" description:"所属用户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:"分部经理名称"`
Location string `json:"location" description:"分部地址"`
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
}