package cn.iocoder.yudao.module.pms.controller.admin.qhse.emergency.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 = "管理后台 - QHSE应检物资台账分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class QhseEmergencyBookPageReqVO extends PageParam {

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

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

    @Schema(description = "应急物资单位")
    private String emergencyUnit;

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

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

    @Schema(description = "责任人")
    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 = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "部门名称", example = "芋艿")
    private String deptName;
    @Schema(description = "是否录入证书")
    private Boolean ifCert;
}