liu
3 天以前 21898888e7781959f746b1fe6814f7353ab4810f
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
package cn.iocoder.yudao.module.hrm.controller.admin.attendance.vo;
 
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 lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
 
import java.time.LocalDate;
import java.time.LocalDateTime;
 
/**
 * 考勤记录 Excel 导入模板 VO
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class HrmAttendanceRecordImportExcelVO {
 
    @ExcelProperty("员工姓名")
    private String userName;
 
    @ExcelProperty("手机号")
    private String phone;
 
    @ExcelProperty("考勤日期")
    private LocalDate date;
 
    @ExcelProperty("上班打卡时间")
    private LocalDateTime clockInTime;
 
    @ExcelProperty("下班打卡时间")
    private LocalDateTime clockOutTime;
 
    @ExcelProperty(value = "上班打卡类型", converter = DictConvert.class)
    @DictFormat("hrm_clock_type")
    private Integer clockInType;
 
    @ExcelProperty(value = "下班打卡类型", converter = DictConvert.class)
    @DictFormat("hrm_clock_type")
    private Integer clockOutType;
 
    @ExcelProperty("打卡地点")
    private String location;
 
    @ExcelProperty("备注")
    private String remark;
}