package org.xyzh.ai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.xyzh.common.dto.ai.TbAiConversation;

import java.util.List;

/**
 * @description 对话会话数据访问层
 * @filename AiConversationMapper.java
 * @author yslg
 * @copyright xyzh
 * @since 2025-10-15
 */
@Mapper
public interface AiConversationMapper extends BaseMapper<TbAiConversation> {

    /**
     * @description 查询对话会话列表
     * @param filter 过滤条件
     * @return List<TbAiConversation> 对话会话列表
     * @author yslg
     * @since 2025-10-15
     */
    List<TbAiConversation> selectAiConversations(TbAiConversation filter);
}
