GoodsDonSkuFrontView.java 4.6 KB

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