liu
6 小时以前 690b713454828f34f901bc1e3a5f7bcc35a31b30
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
package cn.iocoder.yudao.module.hrm.controller.admin.attendance.vo;
 
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - 考勤记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class HrmAttendanceRecordRespVO {
 
    @Schema(description = "记录ID")
    @ExcelProperty("记录ID")
    private Long id;
 
    @Schema(description = "员工ID")
    private Long userId;
 
    @Schema(description = "员工姓名")
    @ExcelProperty("员工姓名")
    private String userName;
 
    @Schema(description = "部门ID")
    private Long deptId;
 
    @Schema(description = "部门名称")
    @ExcelProperty("部门名称")
    private String deptName;
 
    @Schema(description = "手机号")
    @ExcelProperty("手机号")
    private String phone;
 
    @Schema(description = "考勤日期")
    @ExcelProperty("考勤日期")
    private LocalDate date;
 
    @Schema(description = "上班打卡时间")
    @ExcelProperty("上班打卡时间")
    private LocalDateTime clockInTime;
 
    @Schema(description = "下班打卡时间")
    @ExcelProperty("下班打卡时间")
    private LocalDateTime clockOutTime;
 
    @Schema(description = "上班打卡类型")
    @ExcelProperty(value = "上班打卡类型", converter = DictConvert.class)
    @DictFormat("hrm_clock_type")
    private Integer clockInType;
 
    @Schema(description = "下班打卡类型")
    @ExcelProperty(value = "下班打卡类型", converter = DictConvert.class)
    @DictFormat("hrm_clock_type")
    private Integer clockOutType;
 
    @Schema(description = "上班打卡类型名称(正常/迟到/缺卡)")
    private String clockInTypeName;
 
    @Schema(description = "下班打卡类型名称(正常/早退/缺卡)")
    private String clockOutTypeName;
 
    @Schema(description = "工作时长(小时)")
    @ExcelProperty("工作时长")
    private BigDecimal workHours;
 
    @Schema(description = "加班时长(小时)")
    @ExcelProperty("加班时长")
    private BigDecimal overtimeHours;
 
    @Schema(description = "打卡地点")
    @ExcelProperty("打卡地点")
    private String location;
 
    @Schema(description = "上班打卡经度(WGS84)")
    private BigDecimal clockInLongitude;
    @Schema(description = "上班打卡纬度(WGS84)")
    private BigDecimal clockInLatitude;
    @Schema(description = "上班定位精度,米")
    private BigDecimal clockInAccuracy;
    @Schema(description = "上班距规则地点距离,米")
    private BigDecimal clockInDistance;
    @Schema(description = "上班规则地点地址快照")
    private String clockInAddress;
    @Schema(description = "下班打卡经度(WGS84)")
    private BigDecimal clockOutLongitude;
    @Schema(description = "下班打卡纬度(WGS84)")
    private BigDecimal clockOutLatitude;
    @Schema(description = "下班定位精度,米")
    private BigDecimal clockOutAccuracy;
    @Schema(description = "下班距规则地点距离,米")
    private BigDecimal clockOutDistance;
    @Schema(description = "下班规则地点地址快照")
    private String clockOutAddress;
 
    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;
 
    @Schema(description = "数据来源")
    @ExcelProperty(value = "数据来源", converter = DictConvert.class)
    @DictFormat("hrm_data_source")
    private Integer dataSource;
 
    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
 
}