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

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

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @version 1.0.0
 * @author: chenchao
 * @date: 2022/08/11 21:05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel
public class AreaCensusParam extends DeviceInfoParam.BusinessParam {

    /**
     * 监测点等级
     */
    @ApiModelProperty("监测点等级：0-全部；1-极重要；2-重要；3-普通；4-不重要；")
    @NotNull(message = "监测点等级不可为空")
    @Max(value = 4)
    @Min(value = 0)
    private Integer lineLevel;

}
