package org.xyzh.api.ai.service;

import org.xyzh.api.ai.dto.TbKnowledgeFileLog;
import org.xyzh.common.core.domain.ResultDomain;
import org.xyzh.common.core.page.PageRequest;

/**
 * @description    知识库文件操作日志
 * @filename    KnowledgeFileLogService.java
 * @author    yslg
 * @copyright yslg
 * @since 2025-12-31
 */
public interface KnowledgeFileLogService {

    /**
     * @description    新增知识库文件操作日志
     * @param knowledgeFileLog
     * @return    日志
     * @author    yslg
     * @since 2025-12-31
     */
    ResultDomain<TbKnowledgeFileLog>  addKnowledgeFileLog(TbKnowledgeFileLog knowledgeFileLog);

    /**
     * @description    查询知识库日志操作列表
     * @param    filter
     * @return    日志列表
     * @author    yslg
     * @since 2025-12-31
     */
    ResultDomain<TbKnowledgeFileLog>  getKnowledgeFileLogList(TbKnowledgeFileLog filter);

    /**
     * @description    查询知识库日志操作分页
     * @param    pageRequest
     * @return    日志分页数据
     * @author    yslg
     * @since 2025-12-31
     */
    ResultDomain<TbKnowledgeFileLog>  getKnowledgeFileLogPage(PageRequest<TbKnowledgeFileLog> pageRequest);

}
