GoodsDonSkuFrontView.java 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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. private BigDecimal renewPrice;
  77. /**
  78. * 渠道优惠折扣
  79. */
  80. @DbIgnore
  81. private BigDecimal channelDiscount;
  82. /**
  83. * 优惠价格
  84. */
  85. @DbIgnore
  86. private BigDecimal discountPrice;
  87. /**
  88. * 优惠折扣
  89. */
  90. @DbIgnore
  91. private BigDecimal discount;
  92. /**
  93. * 满减金额
  94. */
  95. @DbIgnore
  96. private BigDecimal reduceMoney;
  97. /**
  98. * 优惠券有效结束时间
  99. */
  100. @DbIgnore
  101. private Date validEndTime;
  102. /**
  103. * 优惠券id
  104. */
  105. @DbIgnore
  106. private Long couponId;
  107. /**
  108. * 支付来源
  109. * 0全无 1.优惠券 2.渠道 3特定价格
  110. */
  111. @DbIgnore
  112. private Integer source = 0;
  113. /**
  114. * 专属用户规格
  115. */
  116. private String userOwns;
  117. /**
  118. * 月数
  119. */
  120. private Integer months;
  121. /**
  122. * 天数
  123. */
  124. private Integer days;
  125. // @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")
  126. // private Integer orderBy;
  127. private Boolean isDp;
  128. /**
  129. * 优惠加购商品
  130. */
  131. @DbIgnore
  132. private List<GoodsDiscountPlusPurchaseRelationFrontView> dpSkuViews;
  133. /**
  134. * 特定价格
  135. */
  136. private BigDecimal specificPrice;
  137. /**
  138. * 特定购买平台
  139. */
  140. private String specificGoodsIds;
  141. /**
  142. * 排序
  143. */
  144. private Integer sorted;
  145. @DbField("sku.num")
  146. private Integer skuNum;
  147. /**
  148. * 限制次数
  149. */
  150. private Integer gptLimitNum;
  151. /**
  152. * 限制时间
  153. */
  154. private Long gptLimitTime;
  155. /**
  156. * GPT think 次数
  157. */
  158. private Integer gptThink;
  159. /**
  160. * GPT think 限制时间
  161. */
  162. private Long gptThinkLimitTime;
  163. /**
  164. * 深度研究 次数
  165. */
  166. private Integer gptDeepStyleLimit;
  167. /**
  168. * 深度研究 限制时间
  169. */
  170. private Long gptDeepStyleLimitTime;
  171. /**
  172. * mj fast次数
  173. */
  174. private Integer mjFastNum;
  175. /**
  176. * mj relax次数
  177. */
  178. private Integer mjRelaxNum;
  179. private Boolean isCar;
  180. private Boolean isMirror;
  181. private Integer lumaNum;
  182. private String remark;
  183. /**
  184. * deepseek限制次数
  185. */
  186. private Integer dsLimitNum;
  187. /**
  188. * deepseek限制时间
  189. */
  190. private Long dsLimitTime;
  191. /**
  192. * 其他模型限制次数
  193. */
  194. private Integer otherLimitNum;
  195. /**
  196. * 其他模型限制时间
  197. */
  198. private Long otherLimitTime;
  199. /**
  200. * claude code每日限额
  201. */
  202. private Integer claudeDailyLimit;
  203. /**
  204. * Claude code 服务总额度
  205. */
  206. private Integer claudeQuota;
  207. /**
  208. * nano总配额次数
  209. */
  210. private Integer nanoQuota;
  211. /**
  212. * cc最高约可使用次数
  213. */
  214. private Integer highestUsage;
  215. /**
  216. * 是否赠送codex
  217. */
  218. private Boolean isCodex;
  219. /**
  220. * codex套餐名
  221. */
  222. private String codexPlanName;
  223. /**
  224. * 每日预算上限
  225. */
  226. private Integer openaiDailyLimit;
  227. /**
  228. * 每月预算上限
  229. */
  230. private Integer openaiQuota;
  231. }