refactor(model): 移除 click_token 字段并调整字段顺序

- 删除实体与 Mapper 中 click_token 相关定义
- 保持其余字段(bind_type、bound_at、bind_ip、bind_user_agent)顺序一致
This commit is contained in:
2025-12-25 14:17:09 +08:00
parent 6ef1488e5f
commit fb0c0c34a9
2 changed files with 1 additions and 8 deletions

View File

@@ -48,12 +48,6 @@ public class KeyboardUserInvites {
@Schema(description="使用的邀请码ID")
private Long inviteCodeId;
/**
* 绑定时关联的点击Token通过邀请链接自动绑定时使用
*/
@TableField(value = "click_token")
@Schema(description="绑定时关联的点击Token通过邀请链接自动绑定时使用")
private String clickToken;
/**
* 绑定方式1=手动填写邀请码2=邀请链接自动绑定3=其他方式

View File

@@ -8,7 +8,6 @@
<result column="inviter_user_id" jdbcType="BIGINT" property="inviterUserId" />
<result column="invitee_user_id" jdbcType="BIGINT" property="inviteeUserId" />
<result column="invite_code_id" jdbcType="BIGINT" property="inviteCodeId" />
<result column="click_token" jdbcType="VARCHAR" property="clickToken" />
<result column="bind_type" jdbcType="SMALLINT" property="bindType" />
<result column="bound_at" jdbcType="TIMESTAMP" property="boundAt" />
<result column="bind_ip" jdbcType="VARCHAR" property="bindIp" />
@@ -16,7 +15,7 @@
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
id, inviter_user_id, invitee_user_id, invite_code_id, click_token, bind_type, bound_at,
id, inviter_user_id, invitee_user_id, invite_code_id, bind_type, bound_at,
bind_ip, bind_user_agent
</sql>
</mapper>