GoodsDonSkuFrontView.java 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  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. where = ":condition:")
  21. @JsonInclude(JsonInclude.Include.NON_NULL)
  22. public class GoodsDonSkuFrontView {
  23. private Long id;
  24. private Long goodsId;
  25. private String subTitle;
  26. /**
  27. * 商品规格 ids
  28. */
  29. private String specIds;
  30. /**
  31. * 商品规格 value
  32. */
  33. private String specVal;
  34. /**
  35. * 商品规格 json
  36. */
  37. private String specJson;
  38. /**
  39. * 规格说明信息
  40. */
  41. private String notifyText;
  42. /**
  43. * H5标签
  44. */
  45. private String mobileTags;
  46. /**
  47. * 规格背景图
  48. */
  49. private String img;
  50. /**
  51. * 规格框提示
  52. */
  53. private String smallMsg;
  54. /**
  55. * 商品预览图
  56. */
  57. private String picture;
  58. /**
  59. * 商品详情图
  60. */
  61. private String detail;
  62. /**
  63. * 标签
  64. */
  65. private String tags;
  66. /**
  67. * true 上架 / false 下架
  68. */
  69. private Boolean status;
  70. private Boolean isMultiQuantity;
  71. private Integer multiQuantityMaxNum;
  72. /**
  73. * 价格
  74. */
  75. private BigDecimal price = BigDecimal.ZERO;
  76. /**
  77. * 续费价格
  78. */
  79. private BigDecimal renewPrice;
  80. /**
  81. * 渠道优惠折扣
  82. */
  83. @DbIgnore
  84. private BigDecimal channelDiscount;
  85. /**
  86. * 优惠价格
  87. */
  88. @DbIgnore
  89. private BigDecimal discountPrice;
  90. /**
  91. * 优惠折扣
  92. */
  93. @DbIgnore
  94. private BigDecimal discount;
  95. /**
  96. * 满减金额
  97. */
  98. @DbIgnore
  99. private BigDecimal reduceMoney;
  100. /**
  101. * 优惠券有效结束时间
  102. */
  103. @DbIgnore
  104. private Date validEndTime;
  105. /**
  106. * 优惠券id
  107. */
  108. @DbIgnore
  109. private Long couponId;
  110. /**
  111. * 支付来源
  112. * 0全无 1.优惠券 2.渠道 3特定价格
  113. */
  114. @DbIgnore
  115. private Integer source = 0;
  116. /**
  117. * 专属用户规格
  118. */
  119. private String userOwns;
  120. /**
  121. * 月数
  122. */
  123. private Integer months;
  124. /**
  125. * 天数
  126. */
  127. private Integer days;
  128. // @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")
  129. // private Integer orderBy;
  130. private Boolean isDp;
  131. /**
  132. * 优惠加购商品
  133. */
  134. @DbIgnore
  135. private List<GoodsDiscountPlusPurchaseRelationFrontView> dpSkuViews;
  136. /**
  137. * 特定价格
  138. */
  139. private BigDecimal specificPrice;
  140. /**
  141. * 特定购买平台
  142. */
  143. private String specificGoodsIds;
  144. /**
  145. * 排序
  146. */
  147. private Integer sorted;
  148. @DbField("sku.num")
  149. private Integer skuNum;
  150. /**
  151. * 限制次数
  152. */
  153. private Integer gptLimitNum;
  154. /**
  155. * 限制时间
  156. */
  157. private Long gptLimitTime;
  158. /**
  159. * GPT think 次数
  160. */
  161. private Integer gptThink;
  162. /**
  163. * GPT think 限制时间
  164. */
  165. private Long gptThinkLimitTime;
  166. /**
  167. * GPT 高级模型(pro) 次数
  168. */
  169. private Integer gptPro;
  170. /**
  171. * GPT 高级模型(pro) 限制时间
  172. */
  173. private Long gptProLimitTime;
  174. /**
  175. * 深度研究 次数
  176. */
  177. private Integer gptDeepStyleLimit;
  178. /**
  179. * 深度研究 限制时间
  180. */
  181. private Long gptDeepStyleLimitTime;
  182. /**
  183. * mj fast次数
  184. */
  185. private Integer mjFastNum;
  186. /**
  187. * mj relax次数
  188. */
  189. private Integer mjRelaxNum;
  190. private Boolean isCar;
  191. private Boolean isMirror;
  192. private Integer lumaNum;
  193. private String remark;
  194. /**
  195. * 付款说明
  196. */
  197. private String payDesc;
  198. /**
  199. * 是否展示规格付款说明
  200. * 默认false
  201. */
  202. private Boolean showPayDesc;
  203. /**
  204. * deepseek限制次数
  205. */
  206. private Integer dsLimitNum;
  207. /**
  208. * deepseek限制时间
  209. */
  210. private Long dsLimitTime;
  211. /**
  212. * 其他模型限制次数
  213. */
  214. private Integer otherLimitNum;
  215. /**
  216. * 其他模型限制时间
  217. */
  218. private Long otherLimitTime;
  219. /**
  220. * claude code每日限额
  221. */
  222. private Integer claudeDailyLimit;
  223. /**
  224. * Claude code 服务总额度
  225. */
  226. private Integer claudeQuota;
  227. /**
  228. * nano总配额次数
  229. */
  230. private Integer nanoQuota;
  231. /**
  232. * cc最高约可使用次数
  233. */
  234. private Integer highestUsage;
  235. /**
  236. * 是否赠送codex
  237. */
  238. private Boolean isCodex;
  239. /**
  240. * codex套餐名
  241. */
  242. private String codexPlanName;
  243. /**
  244. * 每日预算上限
  245. */
  246. private Integer openaiDailyLimit;
  247. /**
  248. * 每月预算上限
  249. */
  250. private Integer openaiQuota;
  251. /**
  252. * 是否禁止奈飞检测
  253. */
  254. private Boolean isBannedCheck;
  255. /**
  256. * 是否开启订阅提醒
  257. */
  258. private Boolean isSubscribeAlert;
  259. /**
  260. * 用户订阅状态
  261. * true 已开启
  262. */
  263. @DbIgnore
  264. private Boolean userSubscribeStatus = false;
  265. }