package com.yeshi.fanli.entity.bus.user;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.GenerationType;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
|
/**
|
* 浏览记录
|
*
|
* @author Administrator
|
*
|
*/
|
@Entity
|
@Table(name = "yeshi_ec_browsehistory")
|
public class BrowseHistory {
|
@Id
|
@GeneratedValue(strategy = GenerationType.AUTO)
|
@Column(name = "id")
|
private long id;
|
@Column(name = "identifycode", length = 80)
|
private String identifyCode;// 用户唯一标识
|
@Column(name = "`type`")
|
private int type;// 商品类型 1-淘宝 ,天猫 2-京东
|
@Column(name = "goodsid", length = 50)
|
private String goodsId;// 商品Id
|
private long createtime;// 创建时间
|
|
public int getType() {
|
return type;
|
}
|
|
public void setType(int type) {
|
this.type = type;
|
}
|
|
public String getGoodsId() {
|
return goodsId;
|
}
|
|
public void setGoodsId(String goodsId) {
|
this.goodsId = goodsId;
|
}
|
|
public long getId() {
|
return id;
|
}
|
|
public void setId(long id) {
|
this.id = id;
|
}
|
|
public String getIdentifyCode() {
|
return identifyCode;
|
}
|
|
public void setIdentifyCode(String identifyCode) {
|
this.identifyCode = identifyCode;
|
}
|
|
public long getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(long createtime) {
|
this.createtime = createtime;
|
}
|
}
|