package cn.iocoder.yudao.module.pms.controller.admin.qhse.measure.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 = "管理后台 - 计量器具-检测校准明细分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class IotMeasureDetectPageReqVO extends PageParam {

    @Schema(description = "计量器具id", example = "29030")
    private Long measureId;

    @Schema(description = "检测/校准日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] detectDate;

    @Schema(description = "检测/校准机构")
    private String detectOrg;

    @Schema(description = "检测/校准内容")
    private String detectContent;

    @Schema(description = "检测/校准有效期")
    private LocalDateTime validityPeriod;

    @Schema(description = "校准金额")
    private Double detectAmount;

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

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

    @Schema(description = "证书编码")
    private String measureCertNo;
    @Schema(description = "检测/检验标准")
    private String detectStandard;
    @Schema(description = "计量器具编码")
    private String measureCode;

    @Schema(description = "精度")
    private String precisions;

    @Schema(description = "监测周期")
    private String detectCycle;
}