package com.njcn.harmonic.pojo.vo;

import com.njcn.device.pq.pojo.param.DeviceInfoParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2022/4/29 15:30
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OverAreaVO extends DeviceInfoParam.BusinessParam{

    private Boolean statFlag;

    @ApiModelProperty("页码")
    @NotNull(message = "页码不可为空")
    @Range(min = 1,message = "页码必须大于0")
    private Integer pageNum;

    @ApiModelProperty("条数")
    @NotNull(message = "条数不可为空")
    @Range(min = 1,message = "条数必须大于0")
    private Integer pageSize;

    @ApiModelProperty("1.报告标志")
    private Integer areaReportFlag;

}
