Files
keyboard_backend/src/main/resources/mapper/KeyboardAiCompanionCommentMapper.xml

24 lines
1.3 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.KeyboardAiCompanionCommentMapper">
<resultMap id="BaseResultMap" type="com.yolo.keyborad.model.entity.KeyboardAiCompanionComment">
<!--@mbg.generated-->
<!--@Table keyboard_ai_companion_comment-->
<id column="id" jdbcType="BIGINT" property="id" />
<result column="companion_id" jdbcType="BIGINT" property="companionId" />
<result column="user_id" jdbcType="BIGINT" property="userId" />
<result column="parent_id" jdbcType="BIGINT" property="parentId" />
<result column="root_id" jdbcType="BIGINT" property="rootId" />
<result column="content" jdbcType="VARCHAR" property="content" />
<result column="like" jdbcType="BIGINT" property="like" />
<result column="status" jdbcType="SMALLINT" property="status" />
<result column="like_count" jdbcType="INTEGER" property="likeCount" />
<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, companion_id, user_id, parent_id, root_id, content, "like", "status", like_count,
created_at, updated_at
</sql>
</mapper>