admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
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
package com.yeshi.fanli.entity.bus.user;
 
import java.util.Date;
 
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
 
/**
 * 有效粉丝记录表
 */
@Table("yeshi_ec_user_invite_valid_record")
public class UserInviteValidRecord {
    public static int TYPE_ONE = 1;// 直接粉丝
    public static int TYPE_TWO = 2;// 间接粉丝
 
    @Column(name = "tvr_id")
    private Long id;
 
    @Column(name = "tvr_uid")
    private Long uid;// 用户id
 
    @Column(name = "tvr_worker_id")
    private Long workerId; // 粉丝id
 
    @Column(name = "tvr_type")
    private Integer type;
 
    // 唯一值:(workerId#type)
    @Column(name = "tvr_unique_key")
    private String uniqueKey;
    
    @Column(name = "tvr_create_time")
    private Date createTime;
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public Long getUid() {
        return uid;
    }
 
    public void setUid(Long uid) {
        this.uid = uid;
    }
 
    public Long getWorkerId() {
        return workerId;
    }
 
    public void setWorkerId(Long workerId) {
        this.workerId = workerId;
    }
 
    public Integer getType() {
        return type;
    }
 
    public void setType(Integer type) {
        this.type = type;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public String getUniqueKey() {
        return uniqueKey;
    }
 
    public void setUniqueKey(String uniqueKey) {
        this.uniqueKey = uniqueKey;
    }
    
}