123456789101112131415161718192021222324252627 |
- <?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.neko.mapper.MessageMapper">
- <resultMap id="BaseResultMap" type="com.neko.domain.pojo.Message">
- <id property="id" column="id" jdbcType="BIGINT"/>
- <result property="messageId" column="message_id" jdbcType="VARCHAR"/>
- <result property="senderId" column="sender_id" jdbcType="BIGINT"/>
- <result property="receiverId" column="receiver_id" jdbcType="BIGINT"/>
- <result property="receiverType" column="receiver_type" jdbcType="TINYINT"/>
- <result property="messageType" column="message_type" jdbcType="TINYINT"/>
- <result property="contentId" column="content_id" jdbcType="BIGINT"/>
- <result property="isEncrypted" column="is_encrypted" jdbcType="TINYINT"/>
- <result property="status" column="status" jdbcType="TINYINT"/>
- <result property="sendTime" column="send_time" jdbcType="TIMESTAMP"/>
- <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
- </resultMap>
- <sql id="Base_Column_List">
- id,message_id,sender_id,
- receiver_id,receiver_type,message_type,
- content_id,is_encrypted,status,
- send_time,create_time
- </sql>
- </mapper>
|