30 lines
1.9 KiB
XML
30 lines
1.9 KiB
XML
<?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.yupi.springbootinit.mapper.ServerBigBrotherMapper">
|
|
<resultMap id="BaseResultMap" type="com.yupi.springbootinit.model.entity.ServerBigBrother">
|
|
<!--@mbg.generated-->
|
|
<!--@Table server_big_brother-->
|
|
<id column="id" jdbcType="INTEGER" property="id" />
|
|
<result column="display_id" jdbcType="VARCHAR" property="displayId" />
|
|
<result column="user_id_str" jdbcType="VARCHAR" property="userIdStr" />
|
|
<result column="nickname" jdbcType="VARCHAR" property="nickname" />
|
|
<result column="level" jdbcType="INTEGER" property="level" />
|
|
<result column="hostcoins" jdbcType="INTEGER" property="hostcoins" />
|
|
<result column="follower_count" jdbcType="INTEGER" property="followerCount" />
|
|
<result column="following_count" jdbcType="INTEGER" property="followingCount" />
|
|
<result column="region" jdbcType="VARCHAR" property="region" />
|
|
<result column="historic_high_coins" jdbcType="INTEGER" property="historicHighCoins" />
|
|
<result column="total_gift_coins" jdbcType="INTEGER" property="totalGiftCoins" />
|
|
<result column="host_display_id" jdbcType="VARCHAR" property="hostDisplayId" />
|
|
<result column="owner_id" jdbcType="VARCHAR" property="ownerId" />
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
|
<result column="fans_level" jdbcType="INTEGER" property="fansLevel" />
|
|
</resultMap>
|
|
<sql id="Base_Column_List">
|
|
<!--@mbg.generated-->
|
|
id, display_id, user_id_str, nickname, `level`, hostcoins, follower_count, following_count,
|
|
region, historic_high_coins, total_gift_coins, host_display_id, owner_id, create_time,
|
|
update_time, creator, updater, deleted, tenant_id,fans_level
|
|
</sql>
|
|
</mapper> |