package com.njcn.process.pojo.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.Date;

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

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

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

    @ApiModelProperty(value="计划开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date planStartTime;

    @ApiModelProperty(value="计划结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date planEndTime;

    @ApiModelProperty(value="计划状态(0:新建 1:待审核 2:审核未通过 3:已发布 4:已完成)")
    private String status;

    @ApiModelProperty(value="文件是否上传(0:否 1:是)")
    private String isFileUpload;


}
