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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 危险源 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotDangerSourceRespVO {

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

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

    @Schema(description = "区域/位置", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("区域/位置")
    private String region;

    @Schema(description = "危害因素描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜")
    @ExcelProperty("危害因素描述")
    private String elementDescription;

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

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

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

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

    @Schema(description = "风险等级", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("风险等级")
    private String riskGrade;

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

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

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

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}