answerBi-backend/src/main/resources/mapper/PostThumbMapper.xml

20 lines
816 B
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="top.peng.answerbi.mapper.PostThumbMapper">
<resultMap id="BaseResultMap" type="top.peng.answerbi.model.entity.PostThumb">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="postId" column="postId" jdbcType="BIGINT"/>
<result property="userId" column="userId" jdbcType="BIGINT"/>
<result property="createTime" column="createTime" jdbcType="TIMESTAMP"/>
<result property="updateTime" column="updateTime" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
id,postId,
userId,createTime,updateTime
</sql>
</mapper>