zhangqian
2024-04-28 067650e77790adeb5222b7736649cb5b6b016162
constvar/const.go
@@ -70,3 +70,38 @@
   OutsourcingSupplierRange                               //供货范围
   SalaryType                                             //嘉联薪资类型
)
// ShiftType 班次类型
type ShiftType string
const (
   ShiftTypeRegular ShiftType = "regular" // 固定班次
   ShiftTypeCycle   ShiftType = "cycle"   // 循环班次
)
// ResourceType 订单类型
type ResourceType int
const (
   ResourceTypeDevice ResourceType = iota + 1 // 设备
   ResourceTypeWorker                         // 人员
)
type AttendanceStatus int
const (
   Normal   AttendanceStatus = iota + 1 //正常
   Overtime                             //加班
   Vacation                             //休假
   Abnormal                             //异常
)
type FileTemplateCategory int
const (
   FileTemplateCategory_Selfmade          FileTemplateCategory = iota + 1 //入库-自制
   FileTemplateCategory_Output                                            //出库
   FileTemplateCategory_JialianInput      = 14                            //嘉联入库
   FileTemplateCategory_JialianOutput     = 15                            //嘉联出库
   FileTemplateCategory_JialianAttendance = 16                            //嘉联-员工考勤
)