package com.ruoyi.lims.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.time.LocalDateTime; @Data @ApiModel(description = "LIMS数据分析查询参数") public class LimsDataAnalysisQueryDto { @ApiModelProperty(value = "开始时间,格式:yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime startTime; @ApiModelProperty(value = "结束时间,格式:yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime endTime; @ApiModelProperty(value = "数据类型:temperature/humidity/pressure/flow/concentration") private String dataType; @ApiModelProperty(value = "设备编号") private String deviceCode; @ApiModelProperty(value = "趋势粒度:day/hour,默认day") private String granularity; @ApiModelProperty(value = "比较维度:dataType/deviceName/deviceCode,默认dataType") private String dimension; @ApiModelProperty(value = "比较分析返回条数,默认10,最大50") private Integer topN; }