GoodsDon.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. package com.cyksj.model.entity;
  2. import com.baomidou.mybatisplus.annotation.TableField;
  3. import com.ejlchina.searcher.bean.DbIgnore;
  4. import com.ejlchina.searcher.bean.SearchBean;
  5. import lombok.Getter;
  6. import lombok.Setter;
  7. import java.math.BigDecimal;
  8. /**
  9. * @author chan
  10. * @date 2022/9/26 4:58 PM
  11. */
  12. @Getter
  13. @Setter
  14. @SearchBean(tables = "goods_don")
  15. public class GoodsDon extends BaseEntity {
  16. /**
  17. * 商品录入人
  18. */
  19. private String writer;
  20. /**
  21. * 标签
  22. */
  23. private String tags;
  24. /**
  25. * 商品名称
  26. */
  27. private String title;
  28. /**
  29. * 缩略图
  30. */
  31. private String logo;
  32. /**
  33. * 背景图
  34. */
  35. private String img;
  36. /**
  37. * true 上架 / false 下架
  38. */
  39. private Boolean status;
  40. /**
  41. * true 存在 / false 删除
  42. */
  43. private Boolean deleted;
  44. /**
  45. * 详情
  46. */
  47. private String detail;
  48. /**
  49. * 描述
  50. */
  51. private String remark;
  52. private Integer type;
  53. /**
  54. * 分类
  55. * 1、AI 2、流媒体
  56. */
  57. private Integer category;
  58. /**
  59. * 二级分类
  60. * 虚物品 1邀请制 2非邀请制
  61. */
  62. private Integer secondType;
  63. private String banner;
  64. /**
  65. * 平台分销比例
  66. */
  67. private Integer rate;
  68. /**
  69. * 第二分销比例 不包含套餐
  70. */
  71. private Integer secondRate;
  72. /**
  73. * 排序
  74. */
  75. private Integer sortBy;
  76. /**
  77. * 虚拟销量
  78. */
  79. private Integer virtualSold;
  80. /**
  81. * 最小规格价格
  82. */
  83. private BigDecimal minPrice;
  84. /**
  85. * 最小规格价格月份
  86. */
  87. private Integer minMonths;
  88. /**
  89. * 最大规格价格
  90. */
  91. private BigDecimal maxPrice;
  92. /**
  93. * 最大规格价格月份
  94. */
  95. private Integer maxMonths;
  96. @TableField(exist = false)
  97. @DbIgnore
  98. private BigDecimal price;
  99. @TableField(exist = false)
  100. @DbIgnore
  101. private Integer soldNum;
  102. @TableField(exist = false)
  103. @DbIgnore
  104. private Integer accountCount;
  105. }