TUserMapper.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="com.futu.goose.user.dao.TUserMapper">
  6. <resultMap id="BaseResultMap" type="com.futu.goose.user.domain.TUser">
  7. <id property="id" column="id" jdbcType="BIGINT"/>
  8. <result property="username" column="username" jdbcType="VARCHAR"/>
  9. <result property="salt" column="salt" jdbcType="VARCHAR"/>
  10. <result property="password" column="password" jdbcType="VARCHAR"/>
  11. <result property="email" column="email" jdbcType="VARCHAR"/>
  12. <result property="phone" column="phone" jdbcType="VARCHAR"/>
  13. <result property="nickname" column="nickname" jdbcType="VARCHAR"/>
  14. <result property="avatar" column="avatar" jdbcType="VARCHAR"/>
  15. <result property="gender" column="gender" jdbcType="TINYINT"/>
  16. <result property="birthday" column="birthday" jdbcType="DATE"/>
  17. <result property="status" column="status" jdbcType="TINYINT"/>
  18. <result property="lastLoginTime" column="last_login_time" jdbcType="TIMESTAMP"/>
  19. <result property="lastLoginIp" column="last_login_ip" jdbcType="VARCHAR"/>
  20. <result property="createdTime" column="created_time" jdbcType="TIMESTAMP"/>
  21. <result property="updatedTime" column="updated_time" jdbcType="TIMESTAMP"/>
  22. </resultMap>
  23. <sql id="Base_Column_List">
  24. id,username,salt,
  25. password,email,phone,
  26. nickname,avatar,gender,
  27. birthday,status,last_login_time,
  28. last_login_ip,created_time,updated_time
  29. </sql>
  30. </mapper>