yujian
2020-05-09 7e7db2fa55a9a3af46d4fd8ede0dee147f101d64
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
package com.yeshi.fanli.entity.taobao.s618;
 
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;
 
import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief;
 
@Document(collection = "super_taobao_goods")
public class SuperTaoBaoGoods {
    @Id
    @Field
    private Long auctionId;
    @Indexed
    @Field
    private int finalPrice;// 分为单位
    @Field
    private TaoBaoGoodsBrief goods;
    @Field
    @Indexed
    private long updateTime;
 
    public long getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }
 
    public SuperTaoBaoGoods(Long auctionId, int finalPrice, TaoBaoGoodsBrief goods) {
        this.auctionId = auctionId;
        this.finalPrice = finalPrice;
        this.goods = goods;
    }
 
    public SuperTaoBaoGoods() {
 
    }
 
    public int getFinalPrice() {
        return finalPrice;
    }
 
    public void setFinalPrice(int finalPrice) {
        this.finalPrice = finalPrice;
    }
 
    public Long getAuctionId() {
        return auctionId;
    }
 
    public void setAuctionId(Long auctionId) {
        this.auctionId = auctionId;
    }
 
    public TaoBaoGoodsBrief getGoods() {
        return goods;
    }
 
    public void setGoods(TaoBaoGoodsBrief goods) {
        this.goods = goods;
    }
}