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 QhseEmergencyCertRespVO {

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

    @Schema(description = "设备id", requiredMode = Schema.RequiredMode.REQUIRED, example = "12399")
    @ExcelProperty("设备id")
    private Long emergencyId;

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

    @Schema(description = "设备名称", example = "王五")
    @ExcelProperty("设备名称")
    private String emergencyName;

    @Schema(description = "证书编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("证书编号")
    private String certNo;

    @Schema(description = "检测单位", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("检测单位")
    private String certOrg;

    @Schema(description = "检测日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("检测日期")
    private LocalDateTime certTime;

    @Schema(description = "有效期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("有效期")
    private LocalDateTime certExpire;

    @Schema(description = "附件", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("附件")
    private String file;

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

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

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

    @Schema(description = "过期")
    private Boolean expired;
    @Schema(description = "预警")
    private Boolean alertWarn;
}