From 04e3c197ea38fe242769057276914bf78c93b3ff Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期五, 19 四月 2024 16:33:11 +0800 Subject: [PATCH] 考勤导入 --- constvar/const.go | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/constvar/const.go b/constvar/const.go index dcc75db..1a2f576 100644 --- a/constvar/const.go +++ b/constvar/const.go @@ -70,3 +70,19 @@ OutsourcingSupplierRange //渚涜揣鑼冨洿 SalaryType //鍢夎仈钖祫绫诲瀷 ) + +// ShiftType 鐝绫诲瀷 +type ShiftType string + +const ( + ShiftTypeRegular ShiftType = "regular" // 鍥哄畾鐝 + ShiftTypeCycle ShiftType = "cycle" // 寰幆鐝 +) + +// ResourceType 璁㈠崟绫诲瀷 +type ResourceType int + +const ( + ResourceTypeDevice ResourceType = iota + 1 // 璁惧 + ResourceTypeWorker // 浜哄憳 +) -- Gitblit v1.8.0