GoodsDonSkuFrontView.java 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. package com.cyksj.model.views;
  2. import com.ejlchina.searcher.bean.DbIgnore;
  3. import com.ejlchina.searcher.bean.SearchBean;
  4. import com.fasterxml.jackson.annotation.JsonInclude;
  5. import lombok.Getter;
  6. import lombok.Setter;
  7. import java.math.BigDecimal;
  8. import java.util.List;
  9. /*
  10. *项目名: netflix
  11. *文件名: GoodsDonSkuFrontView
  12. *创建者: JavaZou
  13. *创建时间:2023/4/6 17:58
  14. */
  15. @Getter
  16. @Setter
  17. @SearchBean(tables = "goods_don_sku")
  18. @JsonInclude(JsonInclude.Include.NON_NULL)
  19. public class GoodsDonSkuFrontView {
  20. private Long id;
  21. private Long goodsId;
  22. private String subTitle;
  23. /**
  24. * 商品规格 ids
  25. */
  26. private String specIds;
  27. /**
  28. * 商品规格 value
  29. */
  30. private String specVal;
  31. /**
  32. * 商品规格 json
  33. */
  34. private String specJson;
  35. /**
  36. * 规格说明信息
  37. */
  38. private String notifyText;
  39. /**
  40. * H5标签
  41. */
  42. private String mobileTags;
  43. /**
  44. * 规格背景图
  45. */
  46. private String img;
  47. /**
  48. * 规格框提示
  49. */
  50. private String smallMsg;
  51. /**
  52. * 商品预览图
  53. */
  54. private String picture;
  55. /**
  56. * 商品详情图
  57. */
  58. private String detail;
  59. /**
  60. * 标签
  61. */
  62. private String tags;
  63. /**
  64. * true 上架 / false 下架
  65. */
  66. private Boolean status;
  67. /**
  68. * 价格
  69. */
  70. private BigDecimal price;
  71. /**
  72. * 专属用户规格
  73. */
  74. private String userOwns;
  75. /**
  76. * 月数
  77. */
  78. private Integer months;
  79. /**
  80. * 天数
  81. */
  82. private Integer days;
  83. // @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")
  84. // private Integer orderBy;
  85. private Boolean isDp;
  86. /**
  87. * 优惠加购商品
  88. */
  89. @DbIgnore
  90. private List<GoodsDiscountPlusPurchaseRelationFrontView> dpSkuViews;
  91. /**
  92. * 特定价格
  93. */
  94. private BigDecimal specificPrice;
  95. /**
  96. * 特定购买平台
  97. */
  98. private String specificGoodsIds;
  99. /**
  100. * 排序
  101. */
  102. private Integer sorted;
  103. /**
  104. * 限制次数
  105. */
  106. private Integer gptLimitNum;
  107. /**
  108. * 限制时间
  109. */
  110. private Long gptLimitTime;
  111. /**
  112. * mj fast次数
  113. */
  114. private Integer mjFastNum;
  115. /**
  116. * mj relax次数
  117. */
  118. private Integer mjRelaxNum;
  119. private Boolean isCar;
  120. private Boolean isMirror;
  121. }