package cn.iocoder.yudao.module.mes.controller.admin.pro.maintenancecalendar.vo;
|
|
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
import cn.idev.excel.annotation.ExcelProperty;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.time.LocalDate;
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - MES 电力运维日历 Response VO")
|
@Data
|
@ExcelIgnoreUnannotated
|
public class MesProMaintenanceCalendarRespVO {
|
|
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
@ExcelProperty("编号")
|
private Long id;
|
|
@Schema(description = "日历编码", example = "RL20260820001")
|
@ExcelProperty("日历编码")
|
private String code;
|
|
@Schema(description = "日历名称", example = "8月变电运维排班")
|
@ExcelProperty("日历名称")
|
private String name;
|
|
@Schema(description = "作业日期", example = "2026-08-20")
|
@ExcelProperty("作业日期")
|
private LocalDate workDate;
|
|
@Schema(description = "班次", example = "1")
|
@ExcelProperty(value = "班次", converter = DictConvert.class)
|
@DictFormat(cn.iocoder.yudao.module.mes.enums.DictTypeConstants.MES_CAL_SHIFT_TYPE)
|
private Integer shift;
|
|
@Schema(description = "作业类型", example = "1")
|
@ExcelProperty(value = "作业类型", converter = DictConvert.class)
|
@DictFormat(cn.iocoder.yudao.module.mes.enums.DictTypeConstants.MES_PRO_CALENDAR_WORK_TYPE)
|
private Integer workType;
|
|
@Schema(description = "作业区域/线路", example = "110kV 城区线")
|
@ExcelProperty("作业区域")
|
private String region;
|
|
@Schema(description = "值班班组编号", example = "100")
|
private Long teamId;
|
|
@Schema(description = "值班班组名称", example = "变电运维一班")
|
@ExcelProperty("值班班组")
|
private String teamName;
|
|
@Schema(description = "值班人员", example = "张三,李四")
|
@ExcelProperty("值班人员")
|
private String personnel;
|
|
@Schema(description = "状态(0=草稿,10=已发布)", example = "0")
|
private Integer status;
|
|
@Schema(description = "备注", example = "备注")
|
@ExcelProperty("备注")
|
private String remark;
|
|
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
@ExcelProperty("创建时间")
|
private LocalDateTime createTime;
|
|
}
|