package cn.iocoder.yudao.module.pms.controller.admin.qhse.danger.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 危险源新增/修改 Request VO")
@Data
public class IotDangerSourceSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "11742")
    private Long id;

    @Schema(description = "部门id")
    private Long deptId;

    @Schema(description = "区域/位置", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "区域/位置不能为空")
    private String region;

    @Schema(description = "危害因素描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜")
    @NotEmpty(message = "危害因素描述不能为空")
    private String elementDescription;

    @Schema(description = "可能导致的后果")
    private String maybeResult;

    @Schema(description = "风险评价可能性")
    private String evalKn;

    @Schema(description = "风险评价严重性")
    private String evalYz;

    @Schema(description = "风险评价风险值")
    private String evalFxz;

    @Schema(description = "风险等级", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "风险等级不能为空")
    private String riskGrade;

    @Schema(description = "控制措施")
    private String controlMethod;

    @Schema(description = "责任人")
    private String charge;

    @Schema(description = "备注", example = "随便")
    private String remark;

}