admin
2019-07-11 3824cbcaec6e6c67418d5280a53e9c2fedeef6f9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
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;
    }
}