2026-07-09 d41fe2e95f3f64c6e3a7229acd9e74e673513a0a
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
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 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 = "工作时长(小时)")
    @ExcelProperty("工作时长")
    private BigDecimal workHours;
 
    @Schema(description = "加班时长(小时)")
    @ExcelProperty("加班时长")
    private BigDecimal overtimeHours;
 
    @Schema(description = "打卡地点")
    @ExcelProperty("打卡地点")
    private String location;
 
    @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;
 
}