Commit 238ef898263c0bb72cea2e0e4c7090bdbfae413e
1 parent
d494c313
定义 message 和 role mapper文件
Showing
2 changed files
with
34 additions
and
0 deletions
yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/mapper/AiChatMessageMapper.java
0 → 100644
| 1 | +package cn.iocoder.yudao.module.ai.mapper; | ||
| 2 | + | ||
| 3 | +import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX; | ||
| 4 | +import cn.iocoder.yudao.module.ai.dataobject.AiChatMessage; | ||
| 5 | +import org.apache.ibatis.annotations.Mapper; | ||
| 6 | +import org.springframework.stereotype.Repository; | ||
| 7 | + | ||
| 8 | +/** | ||
| 9 | + * message mapper | ||
| 10 | + * | ||
| 11 | + * @fansili | ||
| 12 | + * @since v1.0 | ||
| 13 | + */ | ||
| 14 | +@Repository | ||
| 15 | +@Mapper | ||
| 16 | +public interface AiChatMessageMapper extends BaseMapperX<AiChatMessage> { | ||
| 17 | +} |
yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/mapper/AiChatRoleMapper.java
0 → 100644
| 1 | +package cn.iocoder.yudao.module.ai.mapper; | ||
| 2 | + | ||
| 3 | +import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX; | ||
| 4 | +import cn.iocoder.yudao.module.ai.dataobject.AiChatRole; | ||
| 5 | +import org.apache.ibatis.annotations.Mapper; | ||
| 6 | +import org.springframework.stereotype.Repository; | ||
| 7 | + | ||
| 8 | +/** | ||
| 9 | + * role mapper | ||
| 10 | + * | ||
| 11 | + * @fansili | ||
| 12 | + * @since v1.0 | ||
| 13 | + */ | ||
| 14 | +@Repository | ||
| 15 | +@Mapper | ||
| 16 | +public interface AiChatRoleMapper extends BaseMapperX<AiChatRole> { | ||
| 17 | +} |