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;
|
}
|
|
}
|