package cn.iocoder.yudao.module.mes.controller.admin.cal.plan.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 cn.iocoder.yudao.module.mes.enums.DictTypeConstants;
|
import lombok.AllArgsConstructor;
|
import lombok.Builder;
|
import lombok.Data;
|
import lombok.NoArgsConstructor;
|
|
import java.time.LocalDateTime;
|
|
/**
|
* MES 排班计划 Excel 导入 VO
|
*/
|
@Data
|
@Builder
|
@AllArgsConstructor
|
@NoArgsConstructor
|
public class MesCalPlanImportExcelVO {
|
|
@ExcelProperty("计划编码")
|
private String code;
|
|
@ExcelProperty("计划名称")
|
private String name;
|
|
@ExcelProperty(value = "班组类型", converter = DictConvert.class)
|
@DictFormat(DictTypeConstants.MES_CAL_CALENDAR_TYPE)
|
private Integer calendarType;
|
|
@ExcelProperty("开始日期")
|
private LocalDateTime startDate;
|
|
@ExcelProperty("结束日期")
|
private LocalDateTime endDate;
|
|
@ExcelProperty(value = "轮班方式", converter = DictConvert.class)
|
@DictFormat(DictTypeConstants.MES_CAL_SHIFT_TYPE)
|
private Integer shiftType;
|
|
@ExcelProperty(value = "倒班方式", converter = DictConvert.class)
|
@DictFormat(DictTypeConstants.MES_CAL_SHIFT_METHOD)
|
private Integer shiftMethod;
|
|
@ExcelProperty("倒班天数")
|
private Integer shiftCount;
|
|
@ExcelProperty("是否排除周末")
|
private Boolean excludeWeekend;
|
|
@ExcelProperty("备注")
|
private String remark;
|
|
}
|