package com.sckw.core.model.vo;

import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author xucaiqin
 * @date 2023-07-07 16:58:41
 */
@Getter
@Setter
public class BasePara implements Serializable {
    @Serial
    private static final long serialVersionUID = 1881051859375157819L;
    /**
     * 当前页
     */
    private int page;
    /**
     * 每页数量
     */
    private int pageSize;
    /**
     * 关键字搜索
     */
    private String keywords;

    public BasePara() {
        this(1, 10, "");
    }

    public BasePara(int page, int pageSize, String keywords) {
        this.page = page;
        this.pageSize = pageSize;
        this.keywords = keywords;
    }
}
