GoodsDonSkuFrontView.java 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. package com.cyksj.model.views;
  2. import com.ejlchina.searcher.bean.DbField;
  3. import com.ejlchina.searcher.bean.DbIgnore;
  4. import com.ejlchina.searcher.bean.SearchBean;
  5. import com.fasterxml.jackson.annotation.JsonInclude;
  6. import lombok.Getter;
  7. import lombok.Setter;
  8. import java.math.BigDecimal;
  9. import java.util.Date;
  10. import java.util.List;
  11. /*
  12. *项目名: netflix
  13. *文件名: GoodsDonSkuFrontView
  14. *创建者: JavaZou
  15. *创建时间:2023/4/6 17:58
  16. */
  17. @Getter
  18. @Setter
  19. @SearchBean(tables = "goods_don_sku sku")
  20. @JsonInclude(JsonInclude.Include.NON_NULL)
  21. public class GoodsDonSkuFrontView {
  22. private Long id;
  23. private Long goodsId;
  24. private String subTitle;
  25. /**
  26. * 商品规格 ids
  27. */
  28. private String specIds;
  29. /**
  30. * 商品规格 value
  31. */
  32. private String specVal;
  33. /**
  34. * 商品规格 json
  35. */
  36. private String specJson;
  37. /**
  38. * 规格说明信息
  39. */
  40. private String notifyText;
  41. /**
  42. * H5标签
  43. */
  44. private String mobileTags;
  45. /**
  46. * 规格背景图
  47. */
  48. private String img;
  49. /**
  50. * 规格框提示
  51. */
  52. private String smallMsg;
  53. /**
  54. * 商品预览图
  55. */
  56. private String picture;
  57. /**
  58. * 商品详情图
  59. */
  60. private String detail;
  61. /**
  62. * 标签
  63. */
  64. private String tags;
  65. /**
  66. * true 上架 / false 下架
  67. */
  68. private Boolean status;
  69. /**
  70. * 价格
  71. */
  72. private BigDecimal price = BigDecimal.ZERO;
  73. /**
  74. * 优惠价格
  75. */
  76. @DbIgnore
  77. private BigDecimal discountPrice;
  78. /**
  79. * 优惠折扣
  80. */
  81. @DbIgnore
  82. private BigDecimal discount;
  83. /**
  84. * 满减金额
  85. */
  86. @DbIgnore
  87. private BigDecimal reduceMoney;
  88. /**
  89. * 优惠券有效结束时间
  90. */
  91. @DbIgnore
  92. private Date validEndTime;
  93. /**
  94. * 优惠券id
  95. */
  96. @DbIgnore
  97. private Long couponId;
  98. /**
  99. * 专属用户规格
  100. */
  101. private String userOwns;
  102. /**
  103. * 月数
  104. */
  105. private Integer months;
  106. /**
  107. * 天数
  108. */
  109. private Integer days;
  110. // @DbField("case when spec_val like '%月%' and spec_val not like '%年%' then 0 when spec_val like '%季%' then 1 when spec_val like '%半年%' then 2 when spec_val like '%年%' then 3 else 66 end")
  111. // private Integer orderBy;
  112. private Boolean isDp;
  113. /**
  114. * 优惠加购商品
  115. */
  116. @DbIgnore
  117. private List<GoodsDiscountPlusPurchaseRelationFrontView> dpSkuViews;
  118. /**
  119. * 特定价格
  120. */
  121. private BigDecimal specificPrice;
  122. /**
  123. * 特定购买平台
  124. */
  125. private String specificGoodsIds;
  126. /**
  127. * 排序
  128. */
  129. private Integer sorted;
  130. @DbField("sku.num")
  131. private Integer skuNum;
  132. /**
  133. * 限制次数
  134. */
  135. private Integer gptLimitNum;
  136. /**
  137. * 限制时间
  138. */
  139. private Long gptLimitTime;
  140. /**
  141. * mj fast次数
  142. */
  143. private Integer mjFastNum;
  144. /**
  145. * mj relax次数
  146. */
  147. private Integer mjRelaxNum;
  148. private Boolean isCar;
  149. private Boolean isMirror;
  150. private Integer lumaNum;
  151. private String remark;
  152. }