package com.ruoyi.vo;

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

import javax.validation.constraints.NotNull;

/**
 * @Author 刘耀
 * @Date 2022/1/14 9:17
 */
@Data
public class PageBasic {

    /**
     * @mock 1
     */
    @NotNull(message = "pageNo分页参数不能为空")
    @ApiModelProperty(value = "分页参数", required = true)
    private Integer pageNo;


    /**
     *  @mock 10
     */
    @NotNull(message = "pageSize分页参数不能为空")
    @ApiModelProperty(value = "分页参数", required = true)
    private Integer pageSize;

//
//    /**
//     * @mock createTime
//     */
//    @ApiModelProperty(value = "排序参数", required = true)
//    private String orderByColumn;
//
//
//    /**
//     *  @mock desc
//     */
//    @ApiModelProperty(value = "排序的方向 desc 或者 asc", required = true)
//    private String isAsc;
}
