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; }