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;

@Data
public class LimitExtentDayQueryParam {

    @ApiModelProperty(value = "发生时间")
    @NotBlank(message = "发生日期不能为空")
    @DateTimeStrValid(message = "发生日期格式出错")
    private String time;

    @ApiModelProperty(value = "监测点id")
    @NotBlank(message = "监测点id不能为空")
    private String lineId;
    @ApiModelProperty(value = "指标编码")
    @NotBlank(message = "指标编码不能为空")
    private String code;
}
