ReqGoodsSkuInsert.java 2.3 KB

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