ChannelPopularizeView.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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 lombok.Getter;
  6. import lombok.Setter;
  7. import java.math.BigDecimal;
  8. import java.util.Date;
  9. /**
  10. * @author chan
  11. * @date 2022/12/13 2:54 PM
  12. */
  13. @Getter
  14. @Setter
  15. @SearchBean(tables = "channel_popularize cp " +
  16. " LEFT JOIN channel c on c.id = cp.channel_id "
  17. ,where = ":condition:"
  18. ,groupBy = "cp.id,cp.name,cp.url,cp.modality,cp.pay_method,cp.created_time,cp.update_time"
  19. )
  20. public class ChannelPopularizeView {
  21. @DbField("cp.id")
  22. private Long id;
  23. /**
  24. * 渠道id
  25. */
  26. @DbField("cp.channel_id")
  27. private Long channelId;
  28. /**
  29. * 渠道名称
  30. */
  31. @DbField("c.name")
  32. private String channelName;
  33. @DbField("c.creator")
  34. private String creator;
  35. /**
  36. * 链接名称
  37. */
  38. @DbField("cp.name")
  39. private String name;
  40. /**
  41. * url
  42. */
  43. @DbField("cp.url")
  44. private String url;
  45. /**
  46. * 样式
  47. */
  48. @DbField("cp.modality")
  49. private String modality;
  50. /**
  51. * 支付方式
  52. */
  53. @DbField("cp.pay_method")
  54. private String payMethod;
  55. @DbField("cp.is_show_sku")
  56. private Boolean isShowSku;
  57. @DbField("cp.is_show_logo")
  58. private Boolean isShowLogo;
  59. @DbField("cp.filter_goods_ids")
  60. private String filterGoodsIds;
  61. /**
  62. * 浏览数
  63. */
  64. @DbIgnore
  65. private Integer visit;
  66. /**
  67. * 邮箱注册人数
  68. */
  69. @DbIgnore
  70. private Integer emailCount;
  71. /**
  72. * 手机注册人数
  73. */
  74. @DbIgnore
  75. private Integer phoneCount;
  76. /**
  77. * 微信授权注册
  78. */
  79. @DbIgnore
  80. private Integer wechatCount;
  81. /**
  82. * 网页端支付订单数
  83. */
  84. private Integer numOfOrderWebPay;
  85. /**
  86. * 订单数
  87. */
  88. @DbIgnore
  89. private Integer orderCount;
  90. /**
  91. * 订单金额
  92. */
  93. @DbIgnore
  94. private BigDecimal orderMoney;
  95. /**
  96. * 退款订单数
  97. */
  98. @DbIgnore
  99. private Integer refundCount;
  100. /**
  101. * 退款金额
  102. */
  103. @DbIgnore
  104. private BigDecimal refundMoney;
  105. /**
  106. * 加粉链接id
  107. */
  108. @DbIgnore
  109. private Long corpCustomerLinkId;
  110. @DbField("cp.created_time")
  111. private Date createdTime;
  112. @DbField("cp.update_time")
  113. private Date updateTime;
  114. }