zhangqian
2024-04-26 cd057a6eb60902fc380e4de16ece38a2ae83d5a0
controllers/request/attendance_request.go
@@ -5,6 +5,10 @@
   "silkserver/constvar"
)
type TemplateCategoryRequest struct {
   Category constvar.FileTemplateCategory `json:"category"`
}
type GetAttendanceList struct {
   PageInfo
   Keyword string `json:"keyword"`
@@ -15,7 +19,8 @@
}
type GetAttendanceStatistic struct {
   Month string `json:"month"` //月份
   Month   string `json:"month"` //月份
   Keyword string `json:"keyword"`
}
type UpdateAttendance struct {
@@ -23,4 +28,11 @@
   WorkerId         string                    `json:"workerId"`         //人员id
   Status           constvar.AttendanceStatus `json:"status"`           //状态
   OverTimeDuration decimal.Decimal           `json:"overTimeDuration"` //加班时长
   WorkerName       string                    `json:"workerName"`       //人员姓名
   StartWorkTime    string                    `json:"startWorkTime"`    //上班打卡时间
   EndWorkTime      string                    `json:"endWorkTime"`      //下班打卡时间
   Classes          string                    `json:"classes"`          //班次
   ClassesStartTime string                    `json:"classesStartTime"` //班次开始时间
   ClassesEndTime   string                    `json:"classesEndTime"`   //班次下班时间
   WorkTypeId       uint                      `json:"workTypeId"`       //工种id
}