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

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

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - QHSE应检物资台账新增/修改 Request VO")
@Data
public class QhseEmergencyBookSaveReqVO {

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

    @Schema(description = "应急物资名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "应急物资名称不能为空")
    private String emergencyName;

    @Schema(description = "应急物资编码")
    private String emergencyCode;

    @Schema(description = "应急物资单位", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "应急物资单位不能为空")
    private String emergencyUnit;

    @Schema(description = "数量")
    private Integer emergencyNumber;

    @Schema(description = "存放位置")
    private String emergencyLocation;

    @Schema(description = "责任人", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "责任人不能为空")
    private String dutyPerson;

    @Schema(description = "联系电话")
    private String mobile;

    @Schema(description = "附件")
    private String file;

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

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

    @Schema(description = "部门名称", example = "芋艿")
    private String deptName;

    @Schema(description = "是否录入证书")
    private Boolean ifCert;
}