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 = "tljBuyGoods")
|
public class TLJBuyGoods implements Serializable {
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
@Id
|
private String id;
|
@Field
|
private String appKey;
|
@Field
|
private String day;
|
@Field
|
private Date updateTime;
|
@Field
|
private TaoBaoGoodsBrief goods;
|
@Field
|
private Integer totalHongBaoCount;// 总红包个数
|
@Field
|
private Integer leftHongBaoCount;// 剩余红包个数
|
|
public String getAppKey() {
|
return appKey;
|
}
|
|
public void setAppKey(String appKey) {
|
this.appKey = appKey;
|
}
|
|
public Integer getTotalHongBaoCount() {
|
return totalHongBaoCount;
|
}
|
|
public void setTotalHongBaoCount(Integer totalHongBaoCount) {
|
this.totalHongBaoCount = totalHongBaoCount;
|
}
|
|
public Integer getLeftHongBaoCount() {
|
return leftHongBaoCount;
|
}
|
|
public void setLeftHongBaoCount(Integer leftHongBaoCount) {
|
this.leftHongBaoCount = leftHongBaoCount;
|
}
|
|
public TLJBuyGoods(String id, String day, Date updateTime, TaoBaoGoodsBrief goods, int totalHongBaoCount,
|
int leftHongBaoCount) {
|
this.id = id;
|
this.day = day;
|
this.updateTime = updateTime;
|
this.goods = goods;
|
this.totalHongBaoCount = totalHongBaoCount;
|
this.leftHongBaoCount = leftHongBaoCount;
|
}
|
|
public TLJBuyGoods() {
|
|
}
|
|
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;
|
}
|
}
|