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

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 危险源分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class IotDangerSourcePageReqVO extends PageParam {
    @Schema(description = "部门id")
    private Long deptId;

    @Schema(description = "区域/位置")
    private String region;

    @Schema(description = "危害因素描述", example = "你猜")
    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 = "风险等级")
    private String riskGrade;

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

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

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

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}