admin
2019-06-21 7f943e54f259c7ff69c7591dbd6803171126b01e
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
484
485
486
487
488
489
490
491
package com.yeshi.fanli.dto.pdd;
 
import java.math.BigDecimal;
 
import com.google.gson.annotations.SerializedName;
 
public class PDDGoodsDetail {
    @SerializedName("goods_id")
    private Long goodsId;// 商品id
    @SerializedName("has_mall_coupon")
    private Boolean hasMallCoupon;// 是否有店铺券
    @SerializedName("mall_coupon_id")
    private Long mallCouponId;// 店铺券id
    @SerializedName("mall_coupon_discount_pct")
    private Integer mallCouponDiscountPct;// 店铺券折扣
    @SerializedName("mall_coupon_min_order_amount")
    private Integer mallCouponMinOrderAmount;// 最小使用金额
    @SerializedName("mall_coupon_max_discount_amount")
    private Integer mallCouponMaxDiscountAmount;// 最大使用金额
    @SerializedName("mall_coupon_total_quantity")
    private Long mallCouponTotalQuantity;// 店铺券总量
    @SerializedName("mall_coupon_remain_quantity")
    private Long mallCouponRemainQuantity;// 店铺券余量
    @SerializedName("mall_coupon_start_time")
    private Long mallCouponStartTime;// 店铺券开始使用时间
    @SerializedName("mall_coupon_end_time")
    private Long mallCouponEndTime;// 店铺券结束使用时间
    @SerializedName("create_at")
    private Long createAt;// 创建时间(unix时间戳)
    @SerializedName("goods_name")
    private String goodsName; // 商品名称
    @SerializedName("goods_desc")
    private String goodsDesc;// 商品描述
    @SerializedName("goods_thumbnail_url")
    private String goodsThumbnailUrl; // 商品缩略图
    @SerializedName("goods_image_url")
    private String goodsImageUrl;// 商品主图
    @SerializedName("goods_gallery_urls")
    private String[] goodsGalleryUrls;// 商品轮播图
    @SerializedName("sold_quantity")
    private Long soldQuantity;// 已售卖件数
    @SerializedName("min_group_price")
    private Long minGroupPrice;// 最小拼团价(单位为分)
    @SerializedName("min_normal_price")
    private Long minNormalPrice;// 最小单买价格(单位为分)
    @SerializedName("mall_name")
    private String mallName; // 店铺名字
    @SerializedName("merchant_type")
    private Integer merchantType; // 铺类型,1-个人,2-企业,3-旗舰店,4-专卖店,5-专营店,6-普通店
    @SerializedName("category_id")
    private Long categoryId; // 商品类目ID,使用pdd.goods.cats.get接口获取
    @SerializedName("category_name")
    private String categoryName;// 商品类目名
    @SerializedName("opt_id")
    private Long optId;// 商品标签ID,使用pdd.goods.opts.get接口获取
    @SerializedName("opt_name")
    private String optName;// 商品标签名
    @SerializedName("opt_ids")
    private Long[] optIds; // 商品标签id
    @SerializedName("cat_ids")
    private Long[] catIds; // 商品类目id
    @SerializedName("mall_cps")
    private Integer mallCps; // 该商品所在店铺是否参与全店推广,0:否,1:是
    @SerializedName("has_coupon")
    private Boolean hasCoupon; // 商品是否有优惠券
                                // true-有,false-没有
    @SerializedName("coupon_min_order_amount")
    private Long couponMinOrderAmount; // 优惠券门槛价格,单位为分
    @SerializedName("coupon_discount")
    private Long couponDiscount;// 优惠券面额,单位为分
    @SerializedName("coupon_total_quantity")
    private Long couponTotalQuantity; // 优惠券总数量
    @SerializedName("coupon_remain_quantity")
    private Long couponRemainQuantity; // 优惠券剩余数量
    @SerializedName("coupon_start_time")
    private Long couponStartTime;// 优惠券生效时间,UNIX时间戳
    @SerializedName("coupon_end_time")
    private Long couponEndTime;// 优惠券失效时间,UNIX时间戳
    @SerializedName("promotion_rate")
    private Long promotionRate;// 佣金比例,千分比
    @SerializedName("goods_eval_score")
    private String goodsEvalScore;// 商品评价分
    @SerializedName("goods_eval_count")
    private Long goodsEvalCount;// 商品评价数量
    @SerializedName("avg_desc")
    private Long avgDesc;// 描述评分
    @SerializedName("avg_lgst")
    private Long avgLgst;// 物流评分
    @SerializedName("avg_serv")
    private Long avgServ;// 服务评分
    @SerializedName("desc_pct")
    private BigDecimal descPct;// 描述分击败同类店铺百分比
    @SerializedName("lgst_pct")
    private BigDecimal lgstPct;// 物流分击败同类店铺百分比
    @SerializedName("serv_pct")
    private BigDecimal servPct;// 服务分击败同类店铺百分比
    @SerializedName("sales_tip")
    private String salesTip;// 模糊销量
    @SerializedName("activity_type")
    private Integer activityType;// 活动类型,0-无活动;1-秒杀;3-限量折扣;12-限时折扣;13-大促活动;14-名品折扣;15-品牌清仓;16-食品超市;17-一元幸运团;18-爱逛街;19-时尚穿搭;20-男人帮;21-9块9;22-竞价活动;23-榜单活动;24-幸运半价购;25-定金预售;26-幸运人气购;27-特色主题活动;28-断码清仓;29-一元话费;30-电器城;31-每日好店;32-品牌卡;101-大促搜索池;102-大促品类分会场;
    @SerializedName("mall_id")
    private Long mallId;//店铺ID
    // mall_id:4217177,cps_sign:null,cat_id:null mall_rate:10
    
    private Integer state;//状态  1-下线  0-正常
 
    public Integer getState() {
        return state;
    }
 
    public void setState(Integer state) {
        this.state = state;
    }
 
    public Long getMallId() {
        return mallId;
    }
 
    public void setMallId(Long mallId) {
        this.mallId = mallId;
    }
 
    public Long getGoodsId() {
        return goodsId;
    }
 
    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }
 
    public Boolean getHasMallCoupon() {
        return hasMallCoupon;
    }
 
    public void setHasMallCoupon(Boolean hasMallCoupon) {
        this.hasMallCoupon = hasMallCoupon;
    }
 
    public Long getMallCouponId() {
        return mallCouponId;
    }
 
    public void setMallCouponId(Long mallCouponId) {
        this.mallCouponId = mallCouponId;
    }
 
    public Integer getMallCouponDiscountPct() {
        return mallCouponDiscountPct;
    }
 
    public void setMallCouponDiscountPct(Integer mallCouponDiscountPct) {
        this.mallCouponDiscountPct = mallCouponDiscountPct;
    }
 
    public Integer getMallCouponMinOrderAmount() {
        return mallCouponMinOrderAmount;
    }
 
    public void setMallCouponMinOrderAmount(Integer mallCouponMinOrderAmount) {
        this.mallCouponMinOrderAmount = mallCouponMinOrderAmount;
    }
 
    public Integer getMallCouponMaxDiscountAmount() {
        return mallCouponMaxDiscountAmount;
    }
 
    public void setMallCouponMaxDiscountAmount(Integer mallCouponMaxDiscountAmount) {
        this.mallCouponMaxDiscountAmount = mallCouponMaxDiscountAmount;
    }
 
    public Long getMallCouponTotalQuantity() {
        return mallCouponTotalQuantity;
    }
 
    public void setMallCouponTotalQuantity(Long mallCouponTotalQuantity) {
        this.mallCouponTotalQuantity = mallCouponTotalQuantity;
    }
 
    public Long getMallCouponRemainQuantity() {
        return mallCouponRemainQuantity;
    }
 
    public void setMallCouponRemainQuantity(Long mallCouponRemainQuantity) {
        this.mallCouponRemainQuantity = mallCouponRemainQuantity;
    }
 
    public Long getMallCouponStartTime() {
        return mallCouponStartTime;
    }
 
    public void setMallCouponStartTime(Long mallCouponStartTime) {
        this.mallCouponStartTime = mallCouponStartTime;
    }
 
    public Long getMallCouponEndTime() {
        return mallCouponEndTime;
    }
 
    public void setMallCouponEndTime(Long mallCouponEndTime) {
        this.mallCouponEndTime = mallCouponEndTime;
    }
 
    public Long getCreateAt() {
        return createAt;
    }
 
    public void setCreateAt(Long createAt) {
        this.createAt = createAt;
    }
 
    public String getGoodsName() {
        return goodsName;
    }
 
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }
 
    public String getGoodsDesc() {
        return goodsDesc;
    }
 
    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }
 
    public String getGoodsThumbnailUrl() {
        return goodsThumbnailUrl;
    }
 
    public void setGoodsThumbnailUrl(String goodsThumbnailUrl) {
        this.goodsThumbnailUrl = goodsThumbnailUrl;
    }
 
    public String getGoodsImageUrl() {
        return goodsImageUrl;
    }
 
    public void setGoodsImageUrl(String goodsImageUrl) {
        this.goodsImageUrl = goodsImageUrl;
    }
 
    public String[] getGoodsGalleryUrls() {
        return goodsGalleryUrls;
    }
 
    public void setGoodsGalleryUrls(String[] goodsGalleryUrls) {
        this.goodsGalleryUrls = goodsGalleryUrls;
    }
 
    public Long getSoldQuantity() {
        return soldQuantity;
    }
 
    public void setSoldQuantity(Long soldQuantity) {
        this.soldQuantity = soldQuantity;
    }
 
    public Long getMinGroupPrice() {
        return minGroupPrice;
    }
 
    public void setMinGroupPrice(Long minGroupPrice) {
        this.minGroupPrice = minGroupPrice;
    }
 
    public Long getMinNormalPrice() {
        return minNormalPrice;
    }
 
    public void setMinNormalPrice(Long minNormalPrice) {
        this.minNormalPrice = minNormalPrice;
    }
 
    public String getMallName() {
        return mallName;
    }
 
    public void setMallName(String mallName) {
        this.mallName = mallName;
    }
 
    public Integer getMerchantType() {
        return merchantType;
    }
 
    public void setMerchantType(Integer merchantType) {
        this.merchantType = merchantType;
    }
 
    public Long getCategoryId() {
        return categoryId;
    }
 
    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }
 
    public String getCategoryName() {
        return categoryName;
    }
 
    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }
 
    public Long getOptId() {
        return optId;
    }
 
    public void setOptId(Long optId) {
        this.optId = optId;
    }
 
    public String getOptName() {
        return optName;
    }
 
    public void setOptName(String optName) {
        this.optName = optName;
    }
 
    public Long[] getOptIds() {
        return optIds;
    }
 
    public void setOptIds(Long[] optIds) {
        this.optIds = optIds;
    }
 
    public Long[] getCatIds() {
        return catIds;
    }
 
    public void setCatIds(Long[] catIds) {
        this.catIds = catIds;
    }
 
    public Integer getMallCps() {
        return mallCps;
    }
 
    public void setMallCps(Integer mallCps) {
        this.mallCps = mallCps;
    }
 
    public Boolean getHasCoupon() {
        return hasCoupon;
    }
 
    public void setHasCoupon(Boolean hasCoupon) {
        this.hasCoupon = hasCoupon;
    }
 
    public Long getCouponMinOrderAmount() {
        return couponMinOrderAmount;
    }
 
    public void setCouponMinOrderAmount(Long couponMinOrderAmount) {
        this.couponMinOrderAmount = couponMinOrderAmount;
    }
 
    public Long getCouponDiscount() {
        return couponDiscount;
    }
 
    public void setCouponDiscount(Long couponDiscount) {
        this.couponDiscount = couponDiscount;
    }
 
    public Long getCouponTotalQuantity() {
        return couponTotalQuantity;
    }
 
    public void setCouponTotalQuantity(Long couponTotalQuantity) {
        this.couponTotalQuantity = couponTotalQuantity;
    }
 
    public Long getCouponRemainQuantity() {
        return couponRemainQuantity;
    }
 
    public void setCouponRemainQuantity(Long couponRemainQuantity) {
        this.couponRemainQuantity = couponRemainQuantity;
    }
 
    public Long getCouponStartTime() {
        return couponStartTime;
    }
 
    public void setCouponStartTime(Long couponStartTime) {
        this.couponStartTime = couponStartTime;
    }
 
    public Long getCouponEndTime() {
        return couponEndTime;
    }
 
    public void setCouponEndTime(Long couponEndTime) {
        this.couponEndTime = couponEndTime;
    }
 
    public Long getPromotionRate() {
        return promotionRate;
    }
 
    public void setPromotionRate(Long promotionRate) {
        this.promotionRate = promotionRate;
    }
 
    public String getGoodsEvalScore() {
        return goodsEvalScore;
    }
 
    public void setGoodsEvalScore(String goodsEvalScore) {
        this.goodsEvalScore = goodsEvalScore;
    }
 
    public Long getGoodsEvalCount() {
        return goodsEvalCount;
    }
 
    public void setGoodsEvalCount(Long goodsEvalCount) {
        this.goodsEvalCount = goodsEvalCount;
    }
 
    public Long getAvgDesc() {
        return avgDesc;
    }
 
    public void setAvgDesc(Long avgDesc) {
        this.avgDesc = avgDesc;
    }
 
    public Long getAvgLgst() {
        return avgLgst;
    }
 
    public void setAvgLgst(Long avgLgst) {
        this.avgLgst = avgLgst;
    }
 
    public Long getAvgServ() {
        return avgServ;
    }
 
    public void setAvgServ(Long avgServ) {
        this.avgServ = avgServ;
    }
 
    public BigDecimal getDescPct() {
        return descPct;
    }
 
    public void setDescPct(BigDecimal descPct) {
        this.descPct = descPct;
    }
 
    public BigDecimal getLgstPct() {
        return lgstPct;
    }
 
    public void setLgstPct(BigDecimal lgstPct) {
        this.lgstPct = lgstPct;
    }
 
    public BigDecimal getServPct() {
        return servPct;
    }
 
    public void setServPct(BigDecimal servPct) {
        this.servPct = servPct;
    }
 
    public String getSalesTip() {
        return salesTip;
    }
 
    public void setSalesTip(String salesTip) {
        this.salesTip = salesTip;
    }
 
    public Integer getActivityType() {
        return activityType;
    }
 
    public void setActivityType(Integer activityType) {
        this.activityType = activityType;
    }
 
}