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.time.LocalDate;
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - 考勤节假日 Response VO")
|
@Data
|
@ExcelIgnoreUnannotated
|
public class HrmAttendanceHolidayRespVO {
|
|
@Schema(description = "节假日ID")
|
@ExcelProperty("节假日ID")
|
private Long id;
|
|
@Schema(description = "节假日名称")
|
@ExcelProperty("节假日名称")
|
private String name;
|
|
@Schema(description = "日期")
|
@ExcelProperty("日期")
|
private LocalDate date;
|
|
@Schema(description = "类型:1-休息日,2-工作日")
|
@ExcelProperty(value = "类型", converter = DictConvert.class)
|
@DictFormat("hrm_holiday_type")
|
private Integer type;
|
|
@Schema(description = "是否法定节假日:0-否,1-是")
|
@ExcelProperty(value = "是否法定节假日", converter = DictConvert.class)
|
@DictFormat("hrm_is_legal_holiday")
|
private Integer isLegal;
|
|
@Schema(description = "备注")
|
@ExcelProperty("备注")
|
private String remark;
|
|
@Schema(description = "创建时间")
|
@ExcelProperty("创建时间")
|
private LocalDateTime createTime;
|
|
}
|