package com.njcn.csharmonic.pojo.param;

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

import javax.validation.constraints.NotBlank;

@Data
public class MainLineStatLimitRateDetailsQueryParam {
    @NotBlank(message = "监测点ID不可为空")
    @ApiModelProperty("监测点ID")
    private String lineId;

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

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