ChannelPopularizeView.java 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. ,groupBy = "cp.id,cp.name,cp.url,cp.modality,cp.pay_method,cp.created_time,cp.update_time"
  18. )
  19. public class ChannelPopularizeView {
  20. @DbField("cp.id")
  21. private Long id;
  22. /**
  23. * 渠道id
  24. */
  25. @DbField("cp.channel_id")
  26. private Long channelId;
  27. /**
  28. * 渠道名称
  29. */
  30. @DbField("c.name")
  31. private String channelName;
  32. /**
  33. * 链接名称
  34. */
  35. @DbField("cp.name")
  36. private String name;
  37. /**
  38. * url
  39. */
  40. @DbField("cp.url")
  41. private String url;
  42. /**
  43. * 样式
  44. */
  45. @DbField("cp.modality")
  46. private String modality;
  47. /**
  48. * 支付方式
  49. */
  50. @DbField("cp.pay_method")
  51. private String payMethod;
  52. @DbField("cp.is_show_sku")
  53. private Boolean isShowSku;
  54. @DbField("cp.is_show_logo")
  55. private Boolean isShowLogo;
  56. /**
  57. * 浏览数
  58. */
  59. @DbIgnore
  60. private Integer visit;
  61. /**
  62. * 邮箱注册人数
  63. */
  64. @DbIgnore
  65. private Integer emailCount;
  66. /**
  67. * 手机注册人数
  68. */
  69. @DbIgnore
  70. private Integer phoneCount;
  71. /**
  72. * 微信授权注册
  73. */
  74. @DbIgnore
  75. private Integer wechatCount;
  76. /**
  77. * 网页端支付订单数
  78. */
  79. private Integer numOfOrderWebPay;
  80. /**
  81. * 订单数
  82. */
  83. @DbIgnore
  84. private Integer orderCount;
  85. /**
  86. * 订单金额
  87. */
  88. @DbIgnore
  89. private BigDecimal orderMoney;
  90. /**
  91. * 退款订单数
  92. */
  93. @DbIgnore
  94. private Integer refundCount;
  95. /**
  96. * 退款金额
  97. */
  98. @DbIgnore
  99. private BigDecimal refundMoney;
  100. @DbField("cp.created_time")
  101. private Date createdTime;
  102. @DbField("cp.update_time")
  103. private Date updateTime;
  104. }