package top.continew.admin.business.service;

import top.continew.admin.business.model.query.SubtitleItemQuery;
import java.util.List;
import top.continew.admin.business.model.req.SubtitleItemReq;
import top.continew.admin.business.model.resp.SubtitleItemDetailResp;
import top.continew.admin.business.model.resp.SubtitleItemResp;
import top.continew.starter.extension.crud.model.resp.PageResp;
import top.continew.starter.extension.crud.service.BaseService;

/**
 * 数字人-字幕项服务接口
 *
 * @author 王志维
 * @since 2025/12/29
 */
public interface SubtitleItemService extends BaseService<SubtitleItemResp, SubtitleItemDetailResp, SubtitleItemQuery, SubtitleItemReq> {

    PageResp<SubtitleItemResp> pageList(SubtitleItemQuery query,
                                        top.continew.admin.business.model.query.SubtitleItemPageQuery pageQuery);

    /**
     * 批量添加字幕项
     *
     * @param reqList 字幕项请求列表
     * @return 所有新增记录的id列表
     */
    List<Long> batchAdd(List<SubtitleItemReq> reqList);

    // 可根据需要添加额外的业务方法
}