package com.yunzhupaas.base.model.commonword;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yunzhupaas.base.Pagination;
import com.yunzhupaas.base.entity.CommonWordsEntity;
import lombok.Data;

/**
 * 类功能
 *
 * @author 云筑产品开发平台组
 * @version v3.4.6
 * @copyrignt 深圳市乐程软件有限公司
 * @date 2023-01-07
 */
@Data
public class ComWordsPagination extends Pagination {

    @Schema(description = "状态")
    private Integer enabledMark;

    @Schema(description = "类型：0-系统，1-个人")
    private Integer commonWordsType;

    public Page<CommonWordsEntity> getPage(){
        return new Page<>(getCurrentPage(), getPageSize(), getTotal());
    }

}

