| | |
| | | const ( |
| | | EveryPersonCarCheckNumber = 2 //每人每车抽检份数 |
| | | ) |
| | | |
| | | // WorkerStatus 人员状态 |
| | | type WorkerStatus int |
| | | |
| | | const ( |
| | | WorkerStatusWorking WorkerStatus = iota + 1 // 在班 |
| | | WorkerStatusRest // 休息 |
| | | WorkerStatusHoliday // 请假 |
| | | WorkerStatusOvertime // 加班 |
| | | ) |
| | | |
| | | // MiniDictType 迷你字典类型 |
| | | type MiniDictType int |
| | | |
| | | const ( |
| | | MiniDictTypePlcBrand MiniDictType = iota + 1 // PLC品牌 |
| | | MiniDictTypeBomVersionType // Bom版本类型 |
| | | EarlyWarningDay //预警天数 |
| | | InspectionWayType //质检方式类型 |
| | | OutsourcingSupplierType //委外供应商类型 |
| | | OutsourcingSupplierCreditGrade //信用等级 |
| | | 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 //嘉联-员工考勤 |
| | | ) |