ChannelPopularizeFrontView.java 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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 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. *项目名: netflix
  12. *文件名: ChannelPopularizeFrontView
  13. *创建者: JavaZou
  14. *创建时间:2023/8/11 12:10
  15. */
  16. @Getter
  17. @Setter
  18. @SearchBean(tables = "(select * from channel_popularize where :id:) cp left join channel c on c.id = cp.channel_id")
  19. public class ChannelPopularizeFrontView {
  20. /**
  21. * 渠道id
  22. */
  23. @DbField("cp.channel_id")
  24. private Long channelId;
  25. @DbField("c.name")
  26. private String channelName;
  27. /**
  28. * 链接名称
  29. */
  30. @DbField("cp.name")
  31. private String name;
  32. /**
  33. * url
  34. */
  35. @DbField("cp.url")
  36. private String url;
  37. /**
  38. * 样式
  39. */
  40. @DbField("cp.modality")
  41. private String modality;
  42. /**
  43. * 支付方式
  44. */
  45. @DbField("cp.pay_method")
  46. private String payMethod;
  47. /**
  48. * 是否展示规格弹窗
  49. */
  50. @DbField("cp.is_show_sku")
  51. private Boolean isShowSku;
  52. /**
  53. * 是否隐藏平台logo
  54. */
  55. @DbField("cp.is_show_logo")
  56. private Boolean isShowLogo;
  57. /**
  58. * 绑定的优惠券
  59. */
  60. @DbField("cp.coupon_ids")
  61. @JsonIgnore
  62. private String couponIds;
  63. /**
  64. * 是否免登录
  65. */
  66. @DbIgnore
  67. private Boolean isSign = false;
  68. @DbIgnore
  69. private BigDecimal discount;
  70. @DbIgnore
  71. private List<CouponTfPopularizeView> coupons;
  72. }