package com.njcn.harmonic.pojo.param;

import com.njcn.web.pojo.annotation.DateTimeStrValid;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * pqs
 *
 * @author cdf
 * @date 2022/8/26
 */
@Data
public class ReportQueryParam {

    @ApiModelProperty(name = "lineId",value = "监测点id")
    private String lineId;

    @ApiModelProperty(name = "startTime",value = "开始时间")
    @NotBlank(message = "起始时间不可为空")
    @DateTimeStrValid(message = "起始时间格式出错")
    private String startTime;

    @ApiModelProperty(name = "endTime",value = "结束时间")
    @NotBlank(message = "结束时间不可为空")
    private String endTime;

    @ApiModelProperty(name = "b",value = "判断时间是否是当天（true 当天 false不是当天）")
    private Boolean b ;

    @ApiModelProperty(name = "lineId",value = "95条数取值")
    private double count;

}
