liujiandao
2024-04-23 adb8a4d6c2806beae1ac97af7f71c8a3ce3ed0c9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package request
 
import (
    "github.com/shopspring/decimal"
    "silkserver/constvar"
)
 
type GetAttendanceList struct {
    PageInfo
    Keyword string `json:"keyword"`
}
 
type DeleteAttendanceInfo struct {
    Ids []uint `json:"ids"` //记录id
}
 
type GetAttendanceStatistic struct {
    Month string `json:"month"` //月份
}
 
type UpdateAttendance struct {
    Date             string                    `json:"date"`             //日期
    WorkerId         string                    `json:"workerId"`         //人员id
    Status           constvar.AttendanceStatus `json:"status"`           //状态
    OverTimeDuration decimal.Decimal           `json:"overTimeDuration"` //加班时长
}