<?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.younike.service.mapper.StoreBizMapper">

    <resultMap type="com.younike.service.pojo.StoreBiz" id="StoreBizResult">
        <result property="storeBizId" column="store_biz_id"/>
        <result property="storeId" column="store_id"/>
        <result property="bizStatus" column="biz_status"/>
        <result property="needReserved" column="need_reserved"/>
        <result property="reservationDaysAhead" column="reservation_days_ahead"/>
        <result property="positiveRating" column="positive_rating"/>
        <result property="tradeNum" column="trade_num"/>
        <result property="perCapita" column="per_capita"/>
        <result property="delFlag" column="del_flag"/>
        <result property="createdBy" column="created_by"/>
        <result property="createdTime" column="created_time"/>
        <result property="updatedBy" column="updated_by"/>
        <result property="updatedTime" column="updated_time"/>
        <result property="version" column="version"/>
        <result property="remark" column="remark"/>
    </resultMap>




    <sql id="selectStoreBizVo">
        select store_biz_id, store_id, biz_status, need_reserved, reservation_days_ahead, positive_rating, trade_num, per_capita, del_flag, created_by, created_time, updated_by, updated_time, version, remark from store_biz
    </sql>


</mapper>
