package com.yeshi.fanli.entity.taobao;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import org.springframework.data.annotation.Id;
|
import org.springframework.data.mongodb.core.mapping.Document;
|
import org.springframework.data.mongodb.core.mapping.Field;
|
|
/**
|
* 分享爆款
|
*
|
* @author Administrator
|
*
|
*/
|
@Document(collection = "shareHotGoods")
|
public class ShareHotGoods implements Serializable{
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
@Id
|
private String id;
|
@Field
|
private String day;
|
@Field
|
private Date updateTime;
|
@Field
|
private TaoBaoGoodsBrief goods;
|
|
public ShareHotGoods(String id, String day, Date updateTime, TaoBaoGoodsBrief goods) {
|
this.id = id;
|
this.day = day;
|
this.updateTime = updateTime;
|
this.goods = goods;
|
}
|
|
public ShareHotGoods() {
|
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getDay() {
|
return day;
|
}
|
|
public void setDay(String day) {
|
this.day = day;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public TaoBaoGoodsBrief getGoods() {
|
return goods;
|
}
|
|
public void setGoods(TaoBaoGoodsBrief goods) {
|
this.goods = goods;
|
}
|
}
|