GoodsDonViews.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. package com.cyksj.model.views;
  2. import com.cyksj.model.entity.GoodsDon;
  3. import com.ejlchina.searcher.bean.DbIgnore;
  4. import com.ejlchina.searcher.bean.SearchBean;
  5. import com.fasterxml.jackson.annotation.JsonIgnore;
  6. import lombok.Getter;
  7. import lombok.Setter;
  8. import java.math.BigDecimal;
  9. import java.util.List;
  10. /**
  11. * @author chan
  12. * @date 2022/9/26 5:41 PM
  13. */
  14. @Getter
  15. @Setter
  16. @SearchBean(tables = "goods_don")
  17. public class GoodsDonViews {
  18. private Integer id;
  19. /**
  20. * 标签
  21. */
  22. private String tags;
  23. /**
  24. * 商品名称
  25. */
  26. private String title;
  27. /**
  28. * 缩略图
  29. */
  30. private String logo;
  31. /**
  32. * 背景图
  33. */
  34. private String img;
  35. /**
  36. * 详情
  37. */
  38. private String detail;
  39. /**
  40. * 描述
  41. */
  42. private String remark;
  43. private Integer type;
  44. /**
  45. * 分类
  46. * 1、AI 2、流媒体
  47. */
  48. private Long category;
  49. /**
  50. * 二级分类
  51. * 虚物品 1邀请制 2非邀请制
  52. */
  53. private Integer secondType;
  54. private String banner;
  55. /**
  56. * 最小规格价格
  57. */
  58. private BigDecimal minPrice;
  59. /**
  60. * 最小规格价格月份
  61. */
  62. private Integer minMonths;
  63. /**
  64. * 最小规格 天数
  65. */
  66. private Integer minDays;
  67. /**
  68. * 最大规格价格
  69. */
  70. private BigDecimal maxPrice;
  71. /**
  72. * 最大规格价格月份
  73. */
  74. private Integer maxMonths;
  75. /**
  76. * 最大规格 天数
  77. */
  78. private Integer maxDays;
  79. /**
  80. * 付款说明
  81. */
  82. private String payDesc;
  83. /**
  84. * 特殊类型
  85. */
  86. private GoodsDon.SpecialType specialType;
  87. /**
  88. * 视频
  89. */
  90. private String video;
  91. /**
  92. * 推荐标题
  93. */
  94. private String recommendTitle;
  95. /**
  96. * 推荐平台
  97. */
  98. private String recommendGoods;
  99. @DbIgnore
  100. private Integer sold;
  101. @JsonIgnore
  102. private Integer virtualSold;
  103. @DbIgnore
  104. private List<GoodsDonSkuFrontView> skuList;
  105. @DbIgnore
  106. private GoodsDonSpecFrontView specs;
  107. }