package com.njcn.process.pojo.param;

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

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

/**
 * Description:
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2022/11/11  15:20【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
public class RFlowProcessQueryParm {

    @NotNull(message="当前页不能为空！")
    @Min(value = 1, message = "当前页不能为0")
    @ApiModelProperty(value = "当前页",name = "currentPage",dataType ="Integer",required = true)
    private Integer pageNum;
    /**显示条数*/
    @NotNull(message="显示条数不能为空！")
    @ApiModelProperty(value = "显示条数",name = "pageSize",dataType ="Integer",required = true)
    private Integer pageSize;

    @ApiModelProperty(value="单位ID")
    private String orgNo;

    @ApiModelProperty(value="开始时间")
    private String startTime;

    @ApiModelProperty(value="结束时间")
    private String endTime;


    @ApiModelProperty(value = "申请流程类型")
    @NotNull(message="申请流程类型为空！")
    private Integer applyType;

    @ApiModelProperty(value = "申请单类型")
    @NotNull(message="申请单类型为空！")
    private Integer type;

    @ApiModelProperty(value = "申请页面1，审核页面2")
    @NotNull(message="页面类型为空！")
    private String pageType;



}
