package com.newvideo.domain.shop;
|
|
import java.util.List;
|
|
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 com.google.gson.annotations.Expose;
|
import com.newvideo.domain.LoginUser;
|
|
@Entity
|
@Table(name = "`yeshi_shop_taobao_item_buwan`")
|
public class ShopGoodsItem {
|
@Expose
|
@Id
|
@GeneratedValue(strategy = GenerationType.AUTO)
|
@Column(name = "id")
|
private long id;
|
@Expose
|
private LoginUser loginUser;
|
@Expose
|
@ManyToOne(fetch = FetchType.EAGER)
|
@JoinColumn(name = "itemid")
|
private TaoBaoItem item;
|
@Expose
|
private long createtime;
|
private int orderby;
|
@Expose
|
private int collectcount;
|
@Expose
|
private int commentcount;
|
@Expose
|
private String title;
|
@Expose
|
public List<TaoBaoItem> recommendList;
|
@Expose
|
private boolean collect;
|
|
private boolean show;
|
|
public boolean isShow() {
|
return show;
|
}
|
|
public void setShow(boolean show) {
|
this.show = show;
|
}
|
|
public boolean isCollect() {
|
return collect;
|
}
|
|
public void setCollect(boolean collect) {
|
this.collect = collect;
|
}
|
|
public List<TaoBaoItem> getRecommendList() {
|
return recommendList;
|
}
|
|
public void setRecommendList(List<TaoBaoItem> recommendList) {
|
this.recommendList = recommendList;
|
}
|
|
public LoginUser getLoginUser() {
|
return loginUser;
|
}
|
|
public void setLoginUser(LoginUser loginUser) {
|
this.loginUser = loginUser;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public int getCollectcount() {
|
return collectcount;
|
}
|
|
public void setCollectcount(int collectcount) {
|
this.collectcount = collectcount;
|
}
|
|
public int getCommentcount() {
|
return commentcount;
|
}
|
|
public void setCommentcount(int commentcount) {
|
this.commentcount = commentcount;
|
}
|
|
public int getOrderby() {
|
return orderby;
|
}
|
|
public void setOrderby(int orderby) {
|
this.orderby = orderby;
|
}
|
|
public long getId() {
|
return id;
|
}
|
|
public void setId(long id) {
|
this.id = id;
|
}
|
|
public TaoBaoItem getItem() {
|
return item;
|
}
|
|
public void setItem(TaoBaoItem item) {
|
this.item = item;
|
}
|
|
public long getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(long createtime) {
|
this.createtime = createtime;
|
}
|
|
}
|