package com.njcn.device.pq.pojo.param;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 算法通用查询参数
 *
 * @author qijian
 * @date 2022/10/26
 */
@Data
public class AlgorithmSearchParam {

    @ApiModelProperty(name = "id",value = "监测点ID")
    @NotBlank(message = "监测点不能为空")
    private String id;

    @ApiModelProperty(name = "type",value = "时间类型")
    @NotNull(message = "时间类型不能为空")
    private Integer type;

    @ApiModelProperty(name = "datadate",value = "查询时间")
    @NotBlank(message = "时间不能为空")
    private String datadate;


}
