31 lines
1.9 KiB
XML
31 lines
1.9 KiB
XML
|
|
<?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="com.yolo.keyborad.mapper.KeyboardAiCompanionMapper">
|
||
|
|
<resultMap id="BaseResultMap" type="com.yolo.keyborad.model.entity.KeyboardAiCompanion">
|
||
|
|
<!--@mbg.generated-->
|
||
|
|
<!--@Table keyboard_ai_companion-->
|
||
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
||
|
|
<result column="name" jdbcType="VARCHAR" property="name" />
|
||
|
|
<result column="avatar_url" jdbcType="VARCHAR" property="avatarUrl" />
|
||
|
|
<result column="cover_image_url" jdbcType="VARCHAR" property="coverImageUrl" />
|
||
|
|
<result column="gender" jdbcType="VARCHAR" property="gender" />
|
||
|
|
<result column="age_range" jdbcType="VARCHAR" property="ageRange" />
|
||
|
|
<result column="short_desc" jdbcType="VARCHAR" property="shortDesc" />
|
||
|
|
<result column="intro_text" jdbcType="VARCHAR" property="introText" />
|
||
|
|
<result column="personality_tags" jdbcType="VARCHAR" property="personalityTags" />
|
||
|
|
<result column="speaking_style" jdbcType="VARCHAR" property="speakingStyle" />
|
||
|
|
<result column="system_prompt" jdbcType="VARCHAR" property="systemPrompt" />
|
||
|
|
<result column="status" jdbcType="SMALLINT" property="status" />
|
||
|
|
<result column="visibility" jdbcType="SMALLINT" property="visibility" />
|
||
|
|
<result column="sort_order" jdbcType="INTEGER" property="sortOrder" />
|
||
|
|
<result column="popularity_score" jdbcType="INTEGER" property="popularityScore" />
|
||
|
|
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" />
|
||
|
|
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
|
||
|
|
</resultMap>
|
||
|
|
<sql id="Base_Column_List">
|
||
|
|
<!--@mbg.generated-->
|
||
|
|
id, "name", avatar_url, cover_image_url, gender, age_range, short_desc, intro_text,
|
||
|
|
personality_tags, speaking_style, system_prompt, "status", visibility, sort_order,
|
||
|
|
popularity_score, created_at, updated_at
|
||
|
|
</sql>
|
||
|
|
</mapper>
|