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

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
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 = "管理后台 - 计量器具-证书管理分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class IotMeasureCertPageReqVO extends PageParam {

    @Schema(description = "证书类型", example = "2")
    private String type;

    @Schema(description = "证书类别")
    private String classify;

    @Schema(description = "证书所属公司/个人")
    private String certBelong;

    @Schema(description = "证件名称")
    private String certName;

    @Schema(description = "证书颁发机构")
    private String certOrg;

    @Schema(description = "证书标准")
    private String certStandard;

    @Schema(description = "证书颁发时间")
    private LocalDateTime certIssue;

    @Schema(description = "证书有效期")
    private LocalDateTime certExpire;

    @Schema(description = "到期前提醒")
    private Integer noticeBefore;

    @Schema(description = "证书图片上传")
    private String certPic;

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

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

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

    @Schema(description = "是否过期")
    private Boolean expired;

    private String userName;

    @Schema(description = "60天预警")
    private Boolean alertWarn;

    @Schema(description = "培训周期")
    private String trainCycle;
}