package com.njcn.process.pojo.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * 未建档干扰源用户搜索Param
 *
 * @author qijian
 * @version 1.0.0
 * @createTime 2022/11/11 10:34
 */
@Data
@ApiModel
public class LoadTypeUserSearchParam {

    @ApiModelProperty("所属单位")
    private String orgNo;

    @ApiModelProperty("干扰源类型")
    private String loadType;

    @ApiModelProperty("干扰源用户名称")
    private String userName;

    @ApiModelProperty("关联干扰源用户名称")
    private String relationUserName;

    @ApiModelProperty("是否上传入网报告(0:否 1:是)")
    private String fileUploadflag;

    @ApiModelProperty("是否上传实测报告(0:否 1:是)")
    private Integer aIsFileUpload;

    @ApiModelProperty("是否审核(0:否 1:是)")
    private Integer checkType=0;

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

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

}
