添加用户直播间在线人数字段
This commit is contained in:
@@ -35,6 +35,15 @@ public class HostInfoDTO extends PageRequest implements Serializable {
|
||||
@ApiModelProperty(value = "主播等级", example = "A")
|
||||
private String hostsLevel;
|
||||
|
||||
@ApiModelProperty(value = "在线人数", example = "1000")
|
||||
private Integer onlineFans;
|
||||
|
||||
@ApiModelProperty(value = "在线人数最大值", example = "5000")
|
||||
private Integer onlineFansMax;
|
||||
|
||||
@ApiModelProperty(value = "在线人数最小值", example = " 10")
|
||||
private Integer onlineFansMin;
|
||||
|
||||
/**
|
||||
* 主播金币
|
||||
*/
|
||||
|
||||
@@ -4,6 +4,7 @@ import java.util.Date;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/*
|
||||
@@ -38,6 +39,9 @@ public class NewHosts {
|
||||
*/
|
||||
private Integer invitationType;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "在线人数", example = "1000")
|
||||
private Integer onlineFans;
|
||||
/**
|
||||
* 粉丝数量
|
||||
*/
|
||||
|
||||
@@ -3,6 +3,7 @@ package com.yupi.springbootinit.model.vo.hosts;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
@@ -72,6 +73,10 @@ public class NewHostsVO {
|
||||
@TableId(value = "hosts_kind")
|
||||
private String hostsKind;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "在线人数", example = "1000")
|
||||
@TableId(value = "online_fans")
|
||||
private Integer onlineFans;
|
||||
/**
|
||||
* 数据插入时间
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user