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

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

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - QHSE隐患排查及整改新增/修改 Request VO")
@Data
public class IotHazardSaveReqVO {

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

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
//    @NotEmpty(message = "状态不能为空")
    private String status;

    @Schema(description = "隐患排查分类")
    private String classify;

    @Schema(description = "排查时间")
    private LocalDateTime checkTime;
    @Schema(description = "整改要求")
    private String correctStandard;
    @Schema(description = "整改要求")
    private Long correctPerson;

    @Schema(description = "隐患排查来源")
    private String source;

    @Schema(description = "地点", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "地点不能为空")
    private String address;

    @Schema(description = "问题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "问题不能为空")
    private String problem;

    @Schema(description = "隐患照片/附件")
    private String hazardFile;

    @Schema(description = "整改描述")
    private String rectifyDesc;

    @Schema(description = "整改附件")
    private String rectifyFile;

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

    @Schema(description = "备注", example = "你说的对")
    private String remark;

}