package com.njcn.event.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author xxy
 * @version 1.0.0
 * @date 2022年08月01日 15:35
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StatisticsParam implements Serializable {

    @NotBlank(message = "没有监测点ID")
    @ApiModelProperty(name = "lineIndex",value = "监测点ID")
    private String lineIndex;

    @NotBlank(message = "没有开始时间")
    @ApiModelProperty(name = "startTime",value = "开始时间")
    private String startTime;

    @NotBlank(message = "没有结束时间")
    @ApiModelProperty(name = "endTime",value = "结束时间")
    private String endTime;

    @ApiModelProperty(name = "flag",value = "标识")
    private Integer flag;

    @ApiModelProperty(name = "isDip",value = "是否只统计暂降")
    private Boolean isDip;

}
