package com.yeshi.fanli.entity.taobao;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.FetchType;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.GenerationType;
|
import javax.persistence.Id;
|
import javax.persistence.JoinColumn;
|
import javax.persistence.ManyToOne;
|
import javax.persistence.Table;
|
import javax.persistence.Transient;
|
|
import org.hibernate.annotations.Type;
|
|
import com.google.gson.annotations.Expose;
|
import com.yeshi.fanli.entity.system.BusinessSystem;
|
|
/**
|
* 浏览足记
|
*
|
* @author Administrator
|
*
|
*/
|
@Entity
|
@Table(name = "yeshi_ec_scanhistory")
|
public class ScanHistory {
|
@Id
|
@GeneratedValue(strategy = GenerationType.AUTO)
|
@Column(name = "id")
|
@Expose
|
private long id;
|
|
@Column(length = 100)
|
private String device;
|
|
@ManyToOne(fetch = FetchType.EAGER)
|
@JoinColumn(name = "systemid")
|
private BusinessSystem system;
|
|
private Long uid; //用户id
|
|
public Long getUid() {
|
return uid;
|
}
|
|
public void setUid(Long uid) {
|
this.uid = uid;
|
}
|
|
public String getDevice() {
|
return device;
|
}
|
|
public void setDevice(String device) {
|
this.device = device;
|
}
|
|
public BusinessSystem getSystem() {
|
return system;
|
}
|
|
public void setSystem(BusinessSystem system) {
|
this.system = system;
|
}
|
|
@Expose
|
private int rootCatId;// 0,
|
@Expose
|
private int eventCreatorId;// 0,
|
@Expose
|
private int leafCatId;// 50011277,
|
@Column(length = 50)
|
@Expose
|
private String debugInfo;// null,
|
@Expose
|
private int rootCatScore;// 0,
|
@Expose
|
private long sellerId;// 卖家Id
|
@Expose
|
private int userType;// 0,
|
@Column(length = 256)
|
@Expose
|
private String shopTitle;// 店铺名称
|
@Column(length = 256)
|
@Expose
|
private String pictUrl;// 主图链接
|
@Column(length = 256)
|
@Expose
|
private String title;// 商品标题
|
@Expose
|
private long auctionId;// 商品ID
|
@Column(length = 256)
|
@Expose
|
private String couponLink;// 优惠券链�?
|
@Column(length = 256)
|
@Expose
|
private String couponLinkTaoToken;//
|
@Column(length = 128)
|
@Expose
|
private String couponActivityId;//
|
@Expose
|
private int biz30day;// 4125,
|
@Transient
|
@Expose
|
private String salesCount;
|
@Expose
|
private BigDecimal tkRate;// 佣金比例 �?��100
|
@Column(length = 50)
|
@Expose
|
private String nick;// "yoyo_808611",
|
@Expose
|
private int includeDxjh;// 1,
|
@Expose
|
private BigDecimal reservePrice;// 588,
|
@Expose
|
private BigDecimal tkCommFee;// 32.04,
|
@Expose
|
private BigDecimal totalFee;// 4814.43,
|
@Expose
|
private int totalNum;// 229,
|
@Expose
|
private BigDecimal zkPrice;// 无线价格
|
@Expose
|
private int dayLeft;// -17228,
|
@Column(length = 50)
|
@Expose
|
private String tk3rdRate;// null,
|
@Column(length = 128)
|
@Expose
|
private String auctionUrl;// 商品链接
|
@Expose
|
private double rlRate;// 69.72,
|
@Expose
|
private int hasRecommended;// 0,
|
@Expose
|
private int hasSame;// 0,
|
@Expose
|
private long sameItemPid;// "-232381821",
|
@Expose
|
private int couponTotalCount;// 优惠券�?�?
|
@Expose
|
private int couponLeftCount;// 优惠券剩余数�?
|
@Expose
|
private BigDecimal couponAmount;// 优惠金额
|
@Column(length = 50)
|
@Expose
|
private String eventRate;// null,
|
@Column(length = 128)
|
@Expose
|
private String couponShortLink;// 优惠券短�?
|
@Column(length = 50)
|
@Expose
|
private String couponInfo;// 优惠券信�?
|
@Expose
|
private BigDecimal couponStartFee;// 优惠券起始优�?
|
@Column(length = 20)
|
@Expose
|
private String couponEffectiveStartTime;// "2017-02-04",优惠券开始时�?
|
@Column(length = 20)
|
@Expose
|
private String couponEffectiveEndTime;// 优惠券结束时�?
|
@Column(length = 10)
|
@Expose
|
private String hasUmpBonus;// null,
|
@Column(length = 10)
|
@Expose
|
private String isBizActivity;// null,
|
@Column(length = 10)
|
@Expose
|
private String umpBonus;// null,
|
@Column(length = 30)
|
@Expose
|
private String rootCategoryName;// 根分�?
|
@Column(length = 128)
|
@Expose
|
private String couponOriLink;// 优惠券原始链�?
|
@Column(length = 30)
|
@Expose
|
private String userTypeName;// 用户类型
|
|
@Type(type="date")
|
private Date createtime;
|
|
@Column(length = 1)
|
@Expose
|
private int state;// 0默认 �?删除
|
|
public ScanHistory() {
|
}
|
|
public ScanHistory(long id) {
|
super();
|
this.id = id;
|
}
|
|
public ScanHistory(String shopTitle) {
|
super();
|
this.shopTitle = shopTitle;
|
}
|
|
public int getState() {
|
return state;
|
}
|
|
public void setState(int state) {
|
this.state = state;
|
}
|
|
public Date getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(Date createtime) {
|
this.createtime = createtime;
|
}
|
|
public int getRootCatId() {
|
return rootCatId;
|
}
|
|
public void setRootCatId(int rootCatId) {
|
this.rootCatId = rootCatId;
|
}
|
|
public int getEventCreatorId() {
|
return eventCreatorId;
|
}
|
|
public void setEventCreatorId(int eventCreatorId) {
|
this.eventCreatorId = eventCreatorId;
|
}
|
|
public int getLeafCatId() {
|
return leafCatId;
|
}
|
|
public void setLeafCatId(int leafCatId) {
|
this.leafCatId = leafCatId;
|
}
|
|
public String getDebugInfo() {
|
return debugInfo;
|
}
|
|
public void setDebugInfo(String debugInfo) {
|
this.debugInfo = debugInfo;
|
}
|
|
public int getRootCatScore() {
|
return rootCatScore;
|
}
|
|
public void setRootCatScore(int rootCatScore) {
|
this.rootCatScore = rootCatScore;
|
}
|
|
public long getSellerId() {
|
return sellerId;
|
}
|
|
public void setSellerId(long sellerId) {
|
this.sellerId = sellerId;
|
}
|
|
public int getUserType() {
|
return userType;
|
}
|
|
public void setUserType(int userType) {
|
this.userType = userType;
|
}
|
|
public String getShopTitle() {
|
return shopTitle;
|
}
|
|
public void setShopTitle(String shopTitle) {
|
this.shopTitle = shopTitle;
|
}
|
|
public String getPictUrl() {
|
return pictUrl;
|
}
|
|
public void setPictUrl(String pictUrl) {
|
this.pictUrl = pictUrl;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public long getAuctionId() {
|
return auctionId;
|
}
|
|
public void setAuctionId(long auctionId) {
|
this.auctionId = auctionId;
|
}
|
|
public String getCouponLink() {
|
return couponLink;
|
}
|
|
public void setCouponLink(String couponLink) {
|
this.couponLink = couponLink;
|
}
|
|
public String getCouponLinkTaoToken() {
|
return couponLinkTaoToken;
|
}
|
|
public void setCouponLinkTaoToken(String couponLinkTaoToken) {
|
this.couponLinkTaoToken = couponLinkTaoToken;
|
}
|
|
public String getCouponActivityId() {
|
return couponActivityId;
|
}
|
|
public void setCouponActivityId(String couponActivityId) {
|
this.couponActivityId = couponActivityId;
|
}
|
|
public int getBiz30day() {
|
return biz30day;
|
}
|
|
public void setBiz30day(int biz30day) {
|
this.biz30day = biz30day;
|
}
|
|
|
public String getNick() {
|
return nick;
|
}
|
|
public void setNick(String nick) {
|
this.nick = nick;
|
}
|
|
public int getIncludeDxjh() {
|
return includeDxjh;
|
}
|
public int getDayLeft() {
|
return dayLeft;
|
}
|
|
public void setDayLeft(int dayLeft) {
|
this.dayLeft = dayLeft;
|
}
|
|
public String getTk3rdRate() {
|
return tk3rdRate;
|
}
|
|
public void setTk3rdRate(String tk3rdRate) {
|
this.tk3rdRate = tk3rdRate;
|
}
|
|
public String getAuctionUrl() {
|
return auctionUrl;
|
}
|
|
public void setAuctionUrl(String auctionUrl) {
|
this.auctionUrl = auctionUrl;
|
}
|
|
public double getRlRate() {
|
return rlRate;
|
}
|
|
public void setRlRate(double rlRate) {
|
this.rlRate = rlRate;
|
}
|
|
public int getHasRecommended() {
|
return hasRecommended;
|
}
|
|
public void setHasRecommended(int hasRecommended) {
|
this.hasRecommended = hasRecommended;
|
}
|
|
public int getHasSame() {
|
return hasSame;
|
}
|
|
public void setHasSame(int hasSame) {
|
this.hasSame = hasSame;
|
}
|
|
public long getSameItemPid() {
|
return sameItemPid;
|
}
|
|
public void setSameItemPid(long sameItemPid) {
|
this.sameItemPid = sameItemPid;
|
}
|
|
public int getCouponTotalCount() {
|
return couponTotalCount;
|
}
|
|
public void setCouponTotalCount(int couponTotalCount) {
|
this.couponTotalCount = couponTotalCount;
|
}
|
|
public int getCouponLeftCount() {
|
return couponLeftCount;
|
}
|
|
public void setCouponLeftCount(int couponLeftCount) {
|
this.couponLeftCount = couponLeftCount;
|
}
|
|
public BigDecimal getCouponAmount() {
|
return couponAmount;
|
}
|
|
public void setCouponAmount(BigDecimal couponAmount) {
|
this.couponAmount = couponAmount;
|
}
|
|
public String getEventRate() {
|
return eventRate;
|
}
|
|
public void setEventRate(String eventRate) {
|
this.eventRate = eventRate;
|
}
|
|
public String getCouponShortLink() {
|
return couponShortLink;
|
}
|
|
public void setCouponShortLink(String couponShortLink) {
|
this.couponShortLink = couponShortLink;
|
}
|
|
public String getCouponInfo() {
|
return couponInfo;
|
}
|
|
public void setCouponInfo(String couponInfo) {
|
this.couponInfo = couponInfo;
|
}
|
|
public BigDecimal getTkRate() {
|
return tkRate;
|
}
|
|
public void setTkRate(BigDecimal tkRate) {
|
this.tkRate = tkRate;
|
}
|
|
public BigDecimal getReservePrice() {
|
return reservePrice;
|
}
|
|
public void setReservePrice(BigDecimal reservePrice) {
|
this.reservePrice = reservePrice;
|
}
|
|
public BigDecimal getTkCommFee() {
|
return tkCommFee;
|
}
|
|
public void setTkCommFee(BigDecimal tkCommFee) {
|
this.tkCommFee = tkCommFee;
|
}
|
|
public BigDecimal getTotalFee() {
|
return totalFee;
|
}
|
|
public void setTotalFee(BigDecimal totalFee) {
|
this.totalFee = totalFee;
|
}
|
|
public int getTotalNum() {
|
return totalNum;
|
}
|
|
public void setTotalNum(int totalNum) {
|
this.totalNum = totalNum;
|
}
|
|
public BigDecimal getZkPrice() {
|
return zkPrice;
|
}
|
|
public void setZkPrice(BigDecimal zkPrice) {
|
this.zkPrice = zkPrice;
|
}
|
|
public BigDecimal getCouponStartFee() {
|
return couponStartFee;
|
}
|
|
public void setCouponStartFee(BigDecimal couponStartFee) {
|
this.couponStartFee = couponStartFee;
|
}
|
|
public void setIncludeDxjh(int includeDxjh) {
|
this.includeDxjh = includeDxjh;
|
}
|
|
public String getCouponEffectiveStartTime() {
|
return couponEffectiveStartTime;
|
}
|
|
public void setCouponEffectiveStartTime(String couponEffectiveStartTime) {
|
this.couponEffectiveStartTime = couponEffectiveStartTime;
|
}
|
|
public String getCouponEffectiveEndTime() {
|
return couponEffectiveEndTime;
|
}
|
|
public void setCouponEffectiveEndTime(String couponEffectiveEndTime) {
|
this.couponEffectiveEndTime = couponEffectiveEndTime;
|
}
|
|
public String getHasUmpBonus() {
|
return hasUmpBonus;
|
}
|
|
public void setHasUmpBonus(String hasUmpBonus) {
|
this.hasUmpBonus = hasUmpBonus;
|
}
|
|
public String getIsBizActivity() {
|
return isBizActivity;
|
}
|
|
public void setIsBizActivity(String isBizActivity) {
|
this.isBizActivity = isBizActivity;
|
}
|
|
public String getUmpBonus() {
|
return umpBonus;
|
}
|
|
public void setUmpBonus(String umpBonus) {
|
this.umpBonus = umpBonus;
|
}
|
|
public String getRootCategoryName() {
|
return rootCategoryName;
|
}
|
|
public void setRootCategoryName(String rootCategoryName) {
|
this.rootCategoryName = rootCategoryName;
|
}
|
|
public String getCouponOriLink() {
|
return couponOriLink;
|
}
|
|
public void setCouponOriLink(String couponOriLink) {
|
this.couponOriLink = couponOriLink;
|
}
|
|
public String getUserTypeName() {
|
return userTypeName;
|
}
|
|
public void setUserTypeName(String userTypeName) {
|
this.userTypeName = userTypeName;
|
}
|
|
public long getId() {
|
return id;
|
}
|
|
public void setId(long id) {
|
this.id = id;
|
}
|
|
public String getSalesCount() {
|
return salesCount;
|
}
|
|
public void setSalesCount(String salesCount) {
|
this.salesCount = salesCount;
|
}
|
|
}
|