<?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.StoreStaffMapper">

    <resultMap type="com.younike.service.pojo.StoreStaff" id="StoreStaffResult">
        <result property="storeStaffId" column="store_staff_id"/>
        <result property="storeId" column="store_id"/>
        <result property="appUserId" column="app_user_id"/>
        <result property="staffName" column="staff_name"/>
        <result property="staffPhone" column="staff_phone"/>
        <result property="enrollDate" column="enroll_date"/>
        <result property="roleId" column="role_id"/>
        <result property="rightId" column="right_id"/>
        <result property="staffImgUrl" column="staff_img_url"/>
        <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="selectStoreStaffVo">
        select store_staff_id, store_id, app_user_id, staff_name, staff_phone, enroll_date, role_id, right_id, staff_img_url, del_flag, created_by, created_time, updated_by, updated_time, version, remark from store_staff
    </sql>


</mapper>
