package com.njcn.oracle.bo.param;

import com.njcn.oracle.bo.po.JobDetail;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * Description:
 * Date: 2024/1/9  9:21【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
public class JobQueryParam extends DataAsynParam{
    private List<String> states;
    @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;

}
