ReqGoodsSkuInsert.java 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. package com.cyksj.model.manage.request;
  2. import com.baomidou.mybatisplus.annotation.FieldStrategy;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.cyksj.model.entity.GoodsDiscountPlusPurchaseRelation;
  5. import lombok.Getter;
  6. import lombok.Setter;
  7. import javax.validation.constraints.NotNull;
  8. import java.math.BigDecimal;
  9. import java.util.List;
  10. /**
  11. * @author chan
  12. * @date 2022/9/27 5:28 PM
  13. */
  14. @Getter
  15. @Setter
  16. public class ReqGoodsSkuInsert {
  17. private Long id;
  18. @NotNull(message = "请指定商品spu.")
  19. private Long goodsId;
  20. private List<ReqGoodsSkuSpec> specs;
  21. private List<Sku> skus;
  22. @Getter
  23. @Setter
  24. public static class Sku {
  25. /**
  26. * 商品规格 ids
  27. */
  28. private String specIds;
  29. /**
  30. * 副标题
  31. */
  32. private String subTitle;
  33. /**
  34. * 商品预览图
  35. */
  36. private String picture;
  37. /**
  38. * 商品详细图
  39. */
  40. private String detail;
  41. /**
  42. * 规格说明信息
  43. */
  44. private String notifyText;
  45. /**
  46. * H5标签
  47. */
  48. private String mobileTags;
  49. /**
  50. * 规格背景图
  51. */
  52. private String img;
  53. private String tags;
  54. private BigDecimal price;
  55. /**
  56. * 专属用户规格
  57. */
  58. private String userOwns;
  59. /**
  60. * 数量
  61. */
  62. private Integer num;
  63. /**
  64. * 有效天数
  65. */
  66. private Integer days;
  67. /**
  68. * 月份
  69. */
  70. private Integer months;
  71. /**
  72. * 状态
  73. */
  74. private Boolean status;
  75. /**
  76. * 是否开启实物车票时长权益
  77. */
  78. private Boolean isBenefits;
  79. /**
  80. * 权益列表
  81. */
  82. private String benefitsList;
  83. /**
  84. * 优惠加购虚拟商品
  85. */
  86. private List<GoodsDiscountPlusPurchaseRelation> dpSku;
  87. /**
  88. * 特定价格
  89. */
  90. private BigDecimal specificPrice;
  91. /**
  92. * 特定平台购买用户人群
  93. */
  94. private String specificGoodsIds;
  95. /**
  96. * 规格框提示
  97. */
  98. private String smallMsg;
  99. /**
  100. * 双重验证码查看次数
  101. */
  102. private Integer codeNum;
  103. /**
  104. * 是否是镜像服务
  105. */
  106. private Boolean isMirror;
  107. /**
  108. * 排序
  109. */
  110. private Integer sorted;
  111. /**
  112. * 是否是车队形式
  113. */
  114. private Boolean isCar;
  115. /**
  116. * 限制次数
  117. */
  118. private int gptLimitNum;
  119. /**
  120. * 限制时间
  121. */
  122. private int gptLimitTime;
  123. /**
  124. * mj fast次数
  125. */
  126. private Integer mjFastNum;
  127. /**
  128. * mj relax次数
  129. */
  130. private Integer mjRelaxNum;
  131. }
  132. }