package com.njcn.csdevice.pojo.param;

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

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

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

    @NotNull(message="当前页不能为空！")
    @Min(value = 1, message = "当前页不能为0")
    @ApiModelProperty(value = "当前页",name = "pageNum",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 projectId;

    @ApiModelProperty(value="工程id")
    private List<String> engineeringIds;

    @ApiModelProperty(value="工程id")
    private String engineeringId;

    @ApiModelProperty(value="起始时间")
//    @NotNull(message="起始时间不能为空！")
    private String startTime;

    @ApiModelProperty(value="结束时间")
//    @NotNull(message="结束时间不能为空！")
    private String endTime;

    @ApiModelProperty(value="模糊查询条件")
    private String searchValue;


}
