admin
2020-06-19 31e20ddb1eafa5bf64a0824629fb8c7a05450318
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
package com.ks.tool.bkz.dto;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
 
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;
 
@Document(collection = "daTaoKeGoods")
public class DaTaoKeDetailV2 implements Serializable {
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    @Id
    private Long id;// 商品ID
    @Indexed
    @Field
    private Long goodsId;// 淘宝商品ID
    @Field
    private String title;// 标题
    @Field
    private String dtitle;// 大淘客标题
    @Field
    private BigDecimal originalPrice;// 原价
    @Field
    private BigDecimal actualPrice;// 券后价
    @Field
    private Integer shopType;// 店铺类型,1-天猫,0-淘宝
    @Field
    private Integer goldSellers;// 是否金牌卖家,1-金牌卖家,0-非金牌卖家
    @Field
    private Integer monthSales;// 30天销量
    @Field
    private Integer twoHoursSales;// 2小时销量
    @Field
    private Integer dailySales;// 当日销量
    @Field
    private Integer commissionType;// 佣金类型,0-通用,1-定向,2-高佣,3-营销计划
    @Field
    private String desc;// 推广文案
    @Field
    private Integer couponReceiveNum;// 领券量
    @Field
    private String couponLink;// 领券链接
    @Field
    private String couponEndTime;// 优惠券结束时间
    @Field
    private String couponStartTime;// 优惠券开始时间
    @Field
    private BigDecimal couponPrice;// 优惠券金额
    @Field
    private String couponConditions;// 优惠券使用条件
    @Deprecated
    @Field
    private String couponId;// 券ID
    @Field
    private Integer activityType;// 活动类型,1-无活动,2-淘抢购,3-聚划算
    @Field
    private Date createTime;// 商品创建时间
    @Field
    private String mainPic;// 商品主图链接
    @Field
    private String marketingMainPic;// 营销主图链接
    @Field
    private Long sellerId;// 淘宝卖家id
    @Field
    private Integer cid;// 商品在大淘客的分类id
    @Field
    private BigDecimal discounts;// 折扣力度
    @Field
    private BigDecimal commissionRate;// 佣金比例
    @Field
    private Integer couponTotalNum;// 券总量
    @Field
    private Integer haitao;// 是否海淘,1-海淘商品,0-非海淘商品
    @Field
    private String activityStartTime;// 活动开始时间
    @Field
    private String activityEndTime;// 活动结束时间
    @Field
    private String shopName;// 店铺名称
    @Field
    private Integer shopLevel;// 淘宝店铺等级
    @Field
    private BigDecimal descScore;// 描述分
    @Field
    private Integer brand;// 是否是品牌商品
    @Field
    private String brandId;// 品牌id
    @Field
    private String brandName;// 品牌名称
    @Field
    private Integer hotPush;// 热推值
    
    private String teamName;// 放单人名称
    @Field
    private String itemLink;// 商品淘宝链接
    @Field
    private Integer tchaoshi;// 是否天猫超市商品,1-天猫超市商品,0-非天猫超市商品
    @Field
    private Integer tbcid;// 商品在淘宝的二级分类id ,非大淘客的二级分类
 
    private String imgs;
    
    private Date updateTime;
    // 额外字段维护
    
    private Integer commission;// 佣金金额,单位为分
 
    public String getImgs() {
        return imgs;
    }
 
    public void setImgs(String imgs) {
        this.imgs = imgs;
    }
 
 
 
    public Integer getCommission() {
        return commission;
    }
 
    public void setCommission(Integer commission) {
        this.commission = commission;
    }
 
    public Date getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public Long getGoodsId() {
        return goodsId;
    }
 
    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }
 
    public String getTitle() {
        return title;
    }
 
    public void setTitle(String title) {
        this.title = title;
    }
 
    public String getDtitle() {
        return dtitle;
    }
 
    public void setDtitle(String dtitle) {
        this.dtitle = dtitle;
    }
 
    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }
 
    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }
 
    public BigDecimal getActualPrice() {
        return actualPrice;
    }
 
    public void setActualPrice(BigDecimal actualPrice) {
        this.actualPrice = actualPrice;
    }
 
    public Integer getShopType() {
        return shopType;
    }
 
    public void setShopType(Integer shopType) {
        this.shopType = shopType;
    }
 
    public Integer getGoldSellers() {
        return goldSellers;
    }
 
    public void setGoldSellers(Integer goldSellers) {
        this.goldSellers = goldSellers;
    }
 
    public Integer getMonthSales() {
        return monthSales;
    }
 
    public void setMonthSales(Integer monthSales) {
        this.monthSales = monthSales;
    }
 
    public Integer getTwoHoursSales() {
        return twoHoursSales;
    }
 
    public void setTwoHoursSales(Integer twoHoursSales) {
        this.twoHoursSales = twoHoursSales;
    }
 
    public Integer getDailySales() {
        return dailySales;
    }
 
    public void setDailySales(Integer dailySales) {
        this.dailySales = dailySales;
    }
 
    public Integer getCommissionType() {
        return commissionType;
    }
 
    public void setCommissionType(Integer commissionType) {
        this.commissionType = commissionType;
    }
 
    public String getDesc() {
        return desc;
    }
 
    public void setDesc(String desc) {
        this.desc = desc;
    }
 
    public Integer getCouponReceiveNum() {
        return couponReceiveNum;
    }
 
    public void setCouponReceiveNum(Integer couponReceiveNum) {
        this.couponReceiveNum = couponReceiveNum;
    }
 
    public String getCouponLink() {
        return couponLink;
    }
 
    public void setCouponLink(String couponLink) {
        this.couponLink = couponLink;
    }
 
    public String getCouponEndTime() {
        return couponEndTime;
    }
 
    public void setCouponEndTime(String couponEndTime) {
        this.couponEndTime = couponEndTime;
    }
 
    public String getCouponStartTime() {
        return couponStartTime;
    }
 
    public void setCouponStartTime(String couponStartTime) {
        this.couponStartTime = couponStartTime;
    }
 
    public BigDecimal getCouponPrice() {
        return couponPrice;
    }
 
    public void setCouponPrice(BigDecimal couponPrice) {
        this.couponPrice = couponPrice;
    }
 
    public String getCouponConditions() {
        return couponConditions;
    }
 
    public void setCouponConditions(String couponConditions) {
        this.couponConditions = couponConditions;
    }
 
    public String getCouponId() {
        return couponId;
    }
 
    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }
 
    public Integer getActivityType() {
        return activityType;
    }
 
    public void setActivityType(Integer activityType) {
        this.activityType = activityType;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public String getMainPic() {
        return mainPic;
    }
 
    public void setMainPic(String mainPic) {
        this.mainPic = mainPic;
    }
 
    public String getMarketingMainPic() {
        return marketingMainPic;
    }
 
    public void setMarketingMainPic(String marketingMainPic) {
        this.marketingMainPic = marketingMainPic;
    }
 
    public Long getSellerId() {
        return sellerId;
    }
 
    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }
 
    public Integer getCid() {
        return cid;
    }
 
    public void setCid(Integer cid) {
        this.cid = cid;
    }
 
    public BigDecimal getDiscounts() {
        return discounts;
    }
 
    public void setDiscounts(BigDecimal discounts) {
        this.discounts = discounts;
    }
 
    public BigDecimal getCommissionRate() {
        return commissionRate;
    }
 
    public void setCommissionRate(BigDecimal commissionRate) {
        this.commissionRate = commissionRate;
    }
 
    public Integer getCouponTotalNum() {
        return couponTotalNum;
    }
 
    public void setCouponTotalNum(Integer couponTotalNum) {
        this.couponTotalNum = couponTotalNum;
    }
 
    public Integer getHaitao() {
        return haitao;
    }
 
    public void setHaitao(Integer haitao) {
        this.haitao = haitao;
    }
 
    public String getActivityStartTime() {
        return activityStartTime;
    }
 
    public void setActivityStartTime(String activityStartTime) {
        this.activityStartTime = activityStartTime;
    }
 
    public String getActivityEndTime() {
        return activityEndTime;
    }
 
    public void setActivityEndTime(String activityEndTime) {
        this.activityEndTime = activityEndTime;
    }
 
    public String getShopName() {
        return shopName;
    }
 
    public void setShopName(String shopName) {
        this.shopName = shopName;
    }
 
    public Integer getShopLevel() {
        return shopLevel;
    }
 
    public void setShopLevel(Integer shopLevel) {
        this.shopLevel = shopLevel;
    }
 
    public BigDecimal getDescScore() {
        return descScore;
    }
 
    public void setDescScore(BigDecimal descScore) {
        this.descScore = descScore;
    }
 
    public Integer getBrand() {
        return brand;
    }
 
    public void setBrand(Integer brand) {
        this.brand = brand;
    }
 
    public String getBrandId() {
        return brandId;
    }
 
    public void setBrandId(String brandId) {
        this.brandId = brandId;
    }
 
    public String getBrandName() {
        return brandName;
    }
 
    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }
 
    public Integer getHotPush() {
        return hotPush;
    }
 
    public void setHotPush(Integer hotPush) {
        this.hotPush = hotPush;
    }
 
    public String getTeamName() {
        return teamName;
    }
 
    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }
 
    public String getItemLink() {
        return itemLink;
    }
 
    public void setItemLink(String itemLink) {
        this.itemLink = itemLink;
    }
 
    public Integer getTchaoshi() {
        return tchaoshi;
    }
 
    public void setTchaoshi(Integer tchaoshi) {
        this.tchaoshi = tchaoshi;
    }
 
    public Integer getTbcid() {
        return tbcid;
    }
 
    public void setTbcid(Integer tbcid) {
        this.tbcid = tbcid;
    }
}