<?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="cn.ysk.cashier.mybatis.mapper.TbCallQueueMapper">

    <resultMap id="BaseResultMap" type="cn.ysk.cashier.mybatis.entity.TbCallQueue">
            <id property="id" column="id" jdbcType="INTEGER"/>
            <result property="call_table_id" column="call_table_id" jdbcType="INTEGER"/>
            <result property="phone" column="phone" jdbcType="VARCHAR"/>
            <result property="name" column="name" jdbcType="VARCHAR"/>
            <result property="shop_name" column="shop_name" jdbcType="VARCHAR"/>
            <result property="shop_id" column="shop_id" jdbcType="INTEGER"/>
            <result property="state" column="state" jdbcType="TINYINT"/>
            <result property="create_time" column="create_time" jdbcType="TIMESTAMP"/>
            <result property="call_time" column="call_time" jdbcType="TIMESTAMP"/>
            <result property="call_count" column="call_count" jdbcType="INTEGER"/>
            <result property="pass_time" column="pass_time" jdbcType="TIMESTAMP"/>
            <result property="cancel_time" column="cancel_time" jdbcType="TIMESTAMP"/>
            <result property="note" column="note" jdbcType="VARCHAR"/>
            <result property="user_id" column="user_id" jdbcType="INTEGER"/>
            <result property="open_id" column="open_id" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        id,call_table_id,phone,
        name,shop_name,shop_id,
        state,create_time,call_time,
        call_count,pass_time,cancel_time,
        note,user_id,open_id
    </sql>
</mapper>
