<?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="io.linfeng.modules.admin.dao.TopicDao">

	<!-- 可根据自己的需求，是否要使用 -->
    <resultMap type="io.linfeng.modules.admin.entity.TopicEntity" id="topicMap">
        <result property="id" column="id"/>
        <result property="uid" column="uid"/>
        <result property="cateId" column="cate_id"/>
        <result property="topicName" column="topic_name"/>
        <result property="description" column="description"/>
        <result property="coverImage" column="cover_image"/>
        <result property="bgImage" column="bg_image"/>
        <result property="topType" column="top_type"/>
        <result property="status" column="status"/>
        <result property="indexRecommend" column="index_recommend"/>
        <result property="userNum" column="user_num"/>
        <result property="createTime" column="create_time"/>
    </resultMap>


</mapper>