<?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.xjs.mall.coupon.dao.HomeAdvDao">

	<!-- 可根据自己的需求，是否要使用 -->
    <resultMap type="com.xjs.mall.coupon.entity.HomeAdvEntity" id="homeAdvMap">
        <result property="id" column="id"/>
        <result property="name" column="name"/>
        <result property="pic" column="pic"/>
        <result property="startTime" column="start_time"/>
        <result property="endTime" column="end_time"/>
        <result property="status" column="status"/>
        <result property="clickCount" column="click_count"/>
        <result property="url" column="url"/>
        <result property="note" column="note"/>
        <result property="sort" column="sort"/>
        <result property="publisherId" column="publisher_id"/>
        <result property="authId" column="auth_id"/>
    </resultMap>


</mapper>