<?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.lframework.xingyun.template.inner.mappers.system.SysNoticeLogMapper">

    <resultMap id="SysNoticeLog" type="com.lframework.xingyun.template.inner.entity.SysNoticeLog">
        <id column="id" property="id"/>
        <result column="notice_id" property="noticeId"/>
        <result column="user_id" property="userId"/>
        <result column="readed" property="readed"/>
        <result column="read_time" property="readTime"/>
    </resultMap>

    <sql id="SysNoticeLog_sql">
        SELECT
            tb.id,
            tb.notice_id,
            tb.user_id,
            tb.readed,
            tb.read_time
        FROM sys_notice_log AS tb
    </sql>
</mapper>
