TaobaoTbkDgOptimusPromotionMapData.cs 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. using System.Text.Json.Serialization;
  2. using System.Collections.Generic;
  3. using Topsdk.Util;
  4. namespace Topsdk.Top.Ability369.Domain;
  5. public class TaobaoTbkDgOptimusPromotionMapData
  6. {
  7. /*
  8. 权益类型。1 有价券(需要购买的店铺券或单品券) 2 公开券(直接领取的店铺券或单品券) 3 妈妈券(妈妈渠道领取的店铺券或单品券) 4.品类券 (跨店可用券,可与1,2,3叠加)
  9. */
  10. private string? promotionType;
  11. /*
  12. 优惠门槛类型: 1 满元 2 满件
  13. */
  14. private string? conditionType;
  15. /*
  16. 优惠类型: 1 减钱 2 打折
  17. */
  18. private string? discountType;
  19. /*
  20. 权益信息-总量(权益初始库存量)
  21. */
  22. private long? totalCount;
  23. /*
  24. 权益信息-剩余库存(权益剩余库存量)
  25. */
  26. private long? remainCount;
  27. /*
  28. 权益信息展示开始时间,精确到毫秒时间戳
  29. */
  30. private string? displayStartTime;
  31. /*
  32. 权益信息展示结束时间,精确到毫秒时间戳
  33. */
  34. private string? displayEndTime;
  35. /*
  36. 权益信息
  37. */
  38. private IList<TaobaoTbkDgOptimusPromotionPromotionList>? promotionList;
  39. /*
  40. 权益扩展信息
  41. */
  42. private TaobaoTbkDgOptimusPromotionPromotionExtend? promotionExtend;
  43. /*
  44. 店铺信息-卖家ID
  45. */
  46. private string? sellerId;
  47. /*
  48. 店铺信息-卖家昵称
  49. */
  50. private string? nick;
  51. /*
  52. 店铺信息-店铺名称
  53. */
  54. private string? shopTitle;
  55. /*
  56. 店铺信息-店铺logo
  57. */
  58. private string? shopPictureUrl;
  59. [JsonPropertyName("promotion_type")]
  60. public string? PromotionType
  61. {
  62. get => promotionType;
  63. set => this.promotionType = value;
  64. }
  65. [JsonPropertyName("condition_type")]
  66. public string? ConditionType
  67. {
  68. get => conditionType;
  69. set => this.conditionType = value;
  70. }
  71. [JsonPropertyName("discount_type")]
  72. public string? DiscountType
  73. {
  74. get => discountType;
  75. set => this.discountType = value;
  76. }
  77. [JsonPropertyName("total_count")]
  78. public long? TotalCount
  79. {
  80. get => totalCount;
  81. set => this.totalCount = value;
  82. }
  83. [JsonPropertyName("remain_count")]
  84. public long? RemainCount
  85. {
  86. get => remainCount;
  87. set => this.remainCount = value;
  88. }
  89. [JsonPropertyName("display_start_time")]
  90. public string? DisplayStartTime
  91. {
  92. get => displayStartTime;
  93. set => this.displayStartTime = value;
  94. }
  95. [JsonPropertyName("display_end_time")]
  96. public string? DisplayEndTime
  97. {
  98. get => displayEndTime;
  99. set => this.displayEndTime = value;
  100. }
  101. [JsonPropertyName("promotion_list")]
  102. public IList<TaobaoTbkDgOptimusPromotionPromotionList>? PromotionList
  103. {
  104. get => promotionList;
  105. set => this.promotionList = value;
  106. }
  107. [JsonPropertyName("promotion_extend")]
  108. public TaobaoTbkDgOptimusPromotionPromotionExtend? PromotionExtend
  109. {
  110. get => promotionExtend;
  111. set => this.promotionExtend = value;
  112. }
  113. [JsonPropertyName("seller_id")]
  114. public string? SellerId
  115. {
  116. get => sellerId;
  117. set => this.sellerId = value;
  118. }
  119. [JsonPropertyName("nick")]
  120. public string? Nick
  121. {
  122. get => nick;
  123. set => this.nick = value;
  124. }
  125. [JsonPropertyName("shop_title")]
  126. public string? ShopTitle
  127. {
  128. get => shopTitle;
  129. set => this.shopTitle = value;
  130. }
  131. [JsonPropertyName("shop_picture_url")]
  132. public string? ShopPictureUrl
  133. {
  134. get => shopPictureUrl;
  135. set => this.shopPictureUrl = value;
  136. }
  137. }