117 lines
2.6 KiB
Java
117 lines
2.6 KiB
Java
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.time.LocalDateTime;
|
|
import java.util.Date;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
|
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
|
import io.swagger.models.auth.In;
|
|
import lombok.Data;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
/*
|
|
* @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 = "user_id")
|
|
private Long userId;
|
|
|
|
/**
|
|
* 租户 Id
|
|
*/
|
|
@TableField(value = "tenant_id")
|
|
private Long tenantId;
|
|
|
|
@TableField(value = "create_time")
|
|
private LocalDateTime createTime;
|
|
|
|
@TableField(value = "fans_level")
|
|
private Integer fansLevel;
|
|
} |