package request
|
|
import (
|
"github.com/shopspring/decimal"
|
"silkserver/constvar"
|
)
|
|
type TemplateCategoryRequest struct {
|
Category constvar.FileTemplateCategory `json:"category"`
|
}
|
|
type GetAttendanceList struct {
|
PageInfo
|
Keyword string `json:"keyword"`
|
}
|
|
type DeleteAttendanceInfo struct {
|
Ids []uint `json:"ids"` //记录id
|
}
|
|
type GetAttendanceStatistic struct {
|
Month string `json:"month"` //月份
|
Keyword string `json:"keyword"`
|
}
|
|
type UpdateAttendance struct {
|
Date string `json:"date"` //日期
|
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
|
}
|