package cn.iocoder.yudao.module.mes.controller.admin.dvsubject.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import java.util.*;
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 DvSubjectPageReqVO extends PageParam {

    @Schema(description = "项目编码")
    private String subjectCode;

    @Schema(description = "项目名称", example = "李四")
    private String subjectName;

    @Schema(description = "项目类型", example = "2")
    private String subjectType;

    @Schema(description = "项目内容")
    private String subjectContent;

    @Schema(description = "标准")
    private String subjectStandard;

    @Schema(description = "是否启用")
    private Boolean isEnable;

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

    @Schema(description = "检验方式")
    private String inspectionMethod;

    @Schema(description = "值类型")
    private String valueType;

    @Schema(description = "判定基准")
    private String judgmentCriteria;

    @Schema(description = "id集合导出用")
    private String ids;

    /**
     * 上限值
     */
    @Schema(description = "上限值")
    private Double upperVal;

    /**
     * 下限值
     */
    @Schema(description = "下限值")
    private Double lowerVal;
}