package cn.iocoder.yudao.module.mes.controller.admin.pro.emergencyplan.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.LocalDateTime;
|
|
@Schema(description = "管理后台 - MES 应急处置预案 Response VO")
|
@Data
|
@ExcelIgnoreUnannotated
|
public class MesProEmergencyPlanRespVO {
|
|
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
@ExcelProperty("编号")
|
private Long id;
|
|
@Schema(description = "预案编码", example = "YJ20260818001")
|
@ExcelProperty("预案编码")
|
private String code;
|
|
@Schema(description = "预案名称", example = "变电站停电处置预案")
|
@ExcelProperty("预案名称")
|
private String name;
|
|
@Schema(description = "预案类型", example = "1")
|
@ExcelProperty(value = "预案类型", converter = DictConvert.class)
|
@DictFormat(cn.iocoder.yudao.module.mes.enums.DictTypeConstants.MES_PRO_EMERGENCY_PLAN_TYPE)
|
private Integer planType;
|
|
@Schema(description = "处置内容", example = "1. 立即隔离故障...")
|
private String content;
|
|
@Schema(description = "责任单位/部门", example = "运维部")
|
@ExcelProperty("责任单位")
|
private String orgUnit;
|
|
@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;
|
|
}
|