package cn.iocoder.yudao.module.mes.controller.admin.safety.vo.risk;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import jakarta.validation.constraints.NotEmpty;
|
import jakarta.validation.constraints.NotNull;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDate;
|
|
@Schema(description = "管理后台 - 安全生产-风险清单新增/修改 Request VO")
|
@Data
|
public class MesSafetyRiskSaveReqVO {
|
|
@Schema(description = "编号", example = "1024")
|
private Long id;
|
|
@Schema(description = "风险单元编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
@NotNull(message = "风险单元不能为空")
|
private Long unitId;
|
|
@Schema(description = "风险编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "FX-001-01")
|
@NotEmpty(message = "风险编码不能为空")
|
private String code;
|
|
@Schema(description = "风险名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "烘缸超压爆炸")
|
@NotEmpty(message = "风险名称不能为空")
|
private String name;
|
|
@Schema(description = "事故类型", example = "12")
|
private Integer accidentType;
|
|
@Schema(description = "可能导致的后果说明", example = "人员伤亡、设备损毁")
|
private String possibleConsequence;
|
|
@Schema(description = "L 事故发生可能性", example = "3")
|
private BigDecimal likelihood;
|
|
@Schema(description = "E 暴露于危险环境频率", example = "6")
|
private BigDecimal exposure;
|
|
@Schema(description = "C 事故后果严重性", example = "15")
|
private BigDecimal consequence;
|
|
@Schema(description = "工程技术措施")
|
private String controlEngineering;
|
|
@Schema(description = "管理措施")
|
private String controlManagement;
|
|
@Schema(description = "培训教育措施")
|
private String controlTraining;
|
|
@Schema(description = "个体防护措施")
|
private String controlPpe;
|
|
@Schema(description = "应急处置措施")
|
private String controlEmergency;
|
|
@Schema(description = "本次评估日期")
|
private LocalDate evaluateDate;
|
|
@Schema(description = "下次评估日期")
|
private LocalDate nextEvaluateDate;
|
|
@Schema(description = "管控责任人编号", example = "1")
|
private Long chargeUserId;
|
|
@Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
@NotNull(message = "状态不能为空")
|
private Integer status;
|
|
@Schema(description = "备注")
|
private String remark;
|
|
}
|