package com.sptg.common.core.beans;

import com.baomidou.mybatisplus.plugins.Page;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * title: PageBean
 * package: com.sptg.common.core.beans
 * description: 分页查询条件
 *
 *                  
 *                 
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class PageBean<T,Dto> extends Page<T> {

    /**
     * 查询条件
     */
    private Dto dto;

    public PageBean(int current, int size) {
        super(current, size);
    }
}
