GoodsDonSkuFrontView.java 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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 channelDiscount;
  78. /**
  79. * 优惠价格
  80. */
  81. @DbIgnore
  82. private BigDecimal discountPrice;
  83. /**
  84. * 优惠折扣
  85. */
  86. @DbIgnore
  87. private BigDecimal discount;
  88. /**
  89. * 满减金额
  90. */
  91. @DbIgnore
  92. private BigDecimal reduceMoney;
  93. /**
  94. * 优惠券有效结束时间
  95. */
  96. @DbIgnore
  97. private Date validEndTime;
  98. /**
  99. * 优惠券id
  100. */
  101. @DbIgnore
  102. private Long couponId;
  103. /**
  104. * 支付来源
  105. * 0全无 1.优惠券 2.渠道 3特定价格
  106. */
  107. @DbIgnore
  108. private Integer source = 0;
  109. /**
  110. * 专属用户规格
  111. */
  112. private String userOwns;
  113. /**
  114. * 月数
  115. */
  116. private Integer months;
  117. /**
  118. * 天数
  119. */
  120. private Integer days;
  121. // @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")
  122. // private Integer orderBy;
  123. private Boolean isDp;
  124. /**
  125. * 优惠加购商品
  126. */
  127. @DbIgnore
  128. private List<GoodsDiscountPlusPurchaseRelationFrontView> dpSkuViews;
  129. /**
  130. * 特定价格
  131. */
  132. private BigDecimal specificPrice;
  133. /**
  134. * 特定购买平台
  135. */
  136. private String specificGoodsIds;
  137. /**
  138. * 排序
  139. */
  140. private Integer sorted;
  141. @DbField("sku.num")
  142. private Integer skuNum;
  143. /**
  144. * 限制次数
  145. */
  146. private Integer gptLimitNum;
  147. /**
  148. * 限制时间
  149. */
  150. private Long gptLimitTime;
  151. /**
  152. * mj fast次数
  153. */
  154. private Integer mjFastNum;
  155. /**
  156. * mj relax次数
  157. */
  158. private Integer mjRelaxNum;
  159. private Boolean isCar;
  160. private Boolean isMirror;
  161. private Integer lumaNum;
  162. private String remark;
  163. /**
  164. * deepseek限制次数
  165. */
  166. private Integer dsLimitNum;
  167. /**
  168. * deepseek限制时间
  169. */
  170. private Long dsLimitTime;
  171. /**
  172. * 其他模型限制次数
  173. */
  174. private Integer otherLimitNum;
  175. /**
  176. * 其他模型限制时间
  177. */
  178. private Long otherLimitTime;
  179. /**
  180. * claude code积分上限
  181. */
  182. private Integer codePoints;
  183. /**
  184. * claude code每小时恢复积分
  185. */
  186. private Integer codeCreditRecovery;
  187. /**
  188. * nano总配额次数
  189. */
  190. private Integer nanoQuota;
  191. }