package com.seer.teach.teacher.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.seer.teach.common.PageListBean;
import com.seer.teach.teacher.common.req.BookListTvReq;
import com.seer.teach.teacher.common.resp.BookListTvResp;
import com.seer.teach.teacher.common.resp.BookTvDetail;
import com.seer.teach.teacher.module.entity.BooksEntity;
import com.seer.teach.teacher.module.entity.IdEntity;


/**
 * <p>
 * 书籍信息表 服务类
 * </p>
 *
 * @author Captain
 * @since 2025-06-13
 */
public interface BooksService extends IService<BooksEntity> {

    /**
     * Author: Captain
     * Desc:   Tv端书籍List
     * Params: [device, params]
     * Return: com.seer.teach.common.ResultBean<com.seer.teach.entity.response.BookListTvResp>
     * Time: 2025/6/13 14:34
     */
    PageListBean<BookListTvResp> list(String device, BookListTvReq params);

    /**
     * 书籍分页查询
     * @param pageParm
     * @param query
     * @return
     */
    IPage<BooksEntity> pageList(Page<BooksEntity> pageParm, BooksEntity query);
}
