package cn.iocoder.yudao.module.pms.controller.admin.qhse.emergency.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 = "管理后台 - QHSE应检物资台账 Response VO")
@Data
@ExcelIgnoreUnannotated
public class QhseEmergencyBookRespVO {

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

    @Schema(description = "应急物资名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("应急物资名称")
    private String emergencyName;

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

    @Schema(description = "应急物资单位", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("应急物资单位")
    private String emergencyUnit;

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

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

    @Schema(description = "责任人", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("责任人")
    private String dutyPerson;

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

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

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

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

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

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

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