LiveOverview.java
1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
package cn.fw.freya.model.data;
import lombok.*;
import javax.persistence.*;
import java.util.Date;
/**
* 直播
*
* @author kurisu
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
@Entity
@ToString
@Table(name = "live_overview", uniqueConstraints = @UniqueConstraint(columnNames = {"accountNo", "reportDate", "type"}))
public class LiveOverview {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
/**
* 账户类型 1:快手, 2:抖音, 3:懂车帝, 4:Bilibili
*/
private Integer type;
/**
* 数据采集上报时间
*/
@Column(columnDefinition = "date")
@Temporal(TemporalType.DATE)
private Date reportDate;
/**
* 上传时间
*/
@Column(columnDefinition = "datetime")
private Date uploadTime;
/**
* 账户号
*/
private String accountNo;
/**
* 直播场次
*/
private Integer liveCnt;
/**
* 直播时长(分钟)
*/
private Double liveDuration;
/**
* 观看人次(观众每进入一次则计算一次)
*/
private Integer watchTimesCnt;
/**
* 观看人数
*/
private Integer watchUserCnt;
/**
* 在线人数峰值
*/
private Integer maxWatchUserCnt;
/**
* 人均观看时长(分钟)
*/
private Double watchAvgDuration;
/**
* 评论数
*/
private Integer commentCnt;
/**
* 评论人数
*/
private Integer commentUserCnt;
/**
* 新增粉丝(仅计算直播间内新增粉丝)
*/
private Integer newFansCnt;
/**
* 付费人数
*/
private Integer consumeUserCnt;
/**
* 收获礼物数
*/
private Integer giftCnt;
/**
* '收获火力'或'收获音浪'
*/
private Integer score;
/**
* 直播收益(元)
*/
private Double income;
}