package com.ruoyi.system.query; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotNull; import java.io.Serializable; import java.util.List; @Data @ApiModel(value = "数据统计巡检排行榜查询参数Query") public class DataStatisticsRankQuery implements Serializable { @ApiModelProperty(value = "片区id") private List projectId; @ApiModelProperty(value = "点位类型id") private String locationTypeId; @NotNull(message = "排名类型不能为空") @ApiModelProperty(value = "排名类型 1=人员排名 2=项目部排名") private Integer rankType; @NotNull(message = "时间类型不能为空") @ApiModelProperty(value = "时间类型 1=月排行 2=季度排行 3=年度排行") private Integer timeType; @NotNull(message = "排序类型不能为空") @ApiModelProperty(value = "排序类型 1=升序 2=降序") private Integer sortType; }