feat(ai): 添加 AiCompany 实体、Mapper 及 XML 配置
- 新增 AiCompany 实体类,用于表示 AI 公司信息
- 添加 AiCompanyMapper接口,继承 BaseMapper<AiCompany>
- 创建 AiCompanyMapper.xml 配置文件,定义 Mapper映射
New file |
| | |
| | | package cc.mrbird.febs.ai.entity; |
| | | |
| | | import cc.mrbird.febs.common.entity.AiBaseEntity; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | |
| | | @Data |
| | | @TableName("ai_company") |
| | | public class AiCompany extends AiBaseEntity { |
| | | |
| | | /** |
| | | * 公司名称 |
| | | */ |
| | | private String name; |
| | | } |
New file |
| | |
| | | package cc.mrbird.febs.ai.mapper; |
| | | |
| | | import cc.mrbird.febs.ai.entity.AiCompany; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | |
| | | public interface AiCompanyMapper extends BaseMapper<AiCompany> { |
| | | } |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| | | <mapper namespace="cc.mrbird.febs.ai.mapper.AiCompanyMapper"> |
| | | </mapper> |