| 1234567891011121314151617181920212223242526272829303132333435 |
- <?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.zhentao.mapper.UsersMapper">
- <resultMap id="BaseResultMap" type="com.zhentao.pojo.Users">
- <id property="userId" column="user_id" jdbcType="INTEGER"/>
- <result property="phone" column="phone" jdbcType="VARCHAR"/>
- <result property="email" column="email" jdbcType="VARCHAR"/>
- <result property="nickname" column="nickname" jdbcType="VARCHAR"/>
- <result property="password" column="password" jdbcType="VARCHAR"/>
- <result property="gender" column="gender" jdbcType="TINYINT"/>
- <result property="birthDate" column="birth_date" jdbcType="DATE"/>
- <result property="avatarUrl" column="avatar_url" jdbcType="VARCHAR"/>
- <result property="status" column="status" jdbcType="TINYINT"/>
- <result property="sourceChannel" column="source_channel" jdbcType="VARCHAR"/>
- <result property="isProfileComplete" column="is_profile_complete" jdbcType="TINYINT"/>
- <result property="createdAt" column="created_at" jdbcType="TIMESTAMP"/>
- <result property="updatedAt" column="updated_at" jdbcType="TIMESTAMP"/>
- <result property="consentToCollect" column="consent_to_collect" jdbcType="TINYINT"/>
- <result property="lastLoginAt" column="last_login_at" jdbcType="TIMESTAMP"/>
- <result property="lastActiveAt" column="last_active_at" jdbcType="TIMESTAMP"/>
- <result property="hasWechatLogin" column="has_wechat_login" jdbcType="TINYINT"/>
- </resultMap>
- <sql id="Base_Column_List">
- user_id,phone,email,
- nickname,password,gender,
- birth_date,avatar_url,status,
- source_channel,is_profile_complete,created_at,
- updated_at,consent_to_collect,last_login_at,
- last_active_at,has_wechat_login
- </sql>
- </mapper>
|