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

    <resultMap type="com.younike.service.pojo.AppUser" id="AppUserResult">
        <result property="appUserId" column="app_user_id"/>
        <result property="userType" column="user_type"/>
        <result property="realName" column="real_name"/>
        <result property="nickName" column="nick_name"/>
        <result property="phone" column="phone"/>
        <result property="status" column="status"/>
        <result property="gender" column="gender"/>
        <result property="avatar" column="avatar"/>
        <result property="password" column="password"/>
        <result property="lastLoginIp" column="last_login_ip"/>
        <result property="lastLoginDate" column="last_login_date"/>
        <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="selectAppUserVo">
        select app_user_id, user_type, real_name, nick_name, phone, status, gender, avatar, password, last_login_ip, last_login_date, del_flag, created_by, created_time, updated_by, updated_time, version, remark from app_user
    </sql>


</mapper>
