添加大哥数据入库接口

This commit is contained in:
2025-06-24 18:07:12 +08:00
parent 167c1ec29e
commit a60ae2df1a
10 changed files with 268 additions and 4 deletions

View File

@@ -0,0 +1,101 @@
package com.yupi.springbootinit.model.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;
/*
* @author: ziin
* @date: 2025/6/24 16:42
*/
@Data
@TableName(value = "server_big_brother")
public class ServerBigBrother {
/**
* 主键id
*/
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* 大哥的display_id
*/
@TableField(value = "display_id")
private String displayId;
/**
* 大哥的用户id
*/
@TableField(value = "user_id_str")
private String userIdStr;
/**
* 大哥的用户昵称
*/
@TableField(value = "nickname")
private String nickname;
/**
* 大哥的等级
*/
@TableField(value = "`level`")
private Integer level;
/**
* 大哥打赏的金币
*/
@TableField(value = "hostcoins")
private Integer hostcoins;
/**
* 大哥的粉丝数
*/
@TableField(value = "follower_count")
private Integer followerCount;
/**
* 大哥的关注数
*/
@TableField(value = "following_count")
private Integer followingCount;
/**
* 大哥所在的地区
*/
@TableField(value = "region")
private String region;
/**
* 大哥打赏的历史最高金币
*/
@TableField(value = "historic_high_coins")
private Integer historicHighCoins;
/**
* 大哥历史打赏金币总和
*/
@TableField(value = "total_gift_coins")
private Integer totalGiftCoins;
/**
* 大哥所在的直播间的主播display_id
*/
@TableField(value = "host_display_id")
private String hostDisplayId;
/**
* 该数据所属的账号id
*/
@TableField(value = "owner_id")
private String ownerId;
/**
* 租户 Id
*/
@TableField(value = "tenant_id")
private Long tenantId;
}