| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- package com.cyksj.model.views;
- import com.ejlchina.searcher.bean.DbField;
- import com.ejlchina.searcher.bean.DbIgnore;
- import com.ejlchina.searcher.bean.SearchBean;
- import com.fasterxml.jackson.annotation.JsonIgnore;
- import lombok.Getter;
- import lombok.Setter;
- import java.math.BigDecimal;
- import java.util.List;
- /*
- *项目名: netflix
- *文件名: ChannelPopularizeFrontView
- *创建者: JavaZou
- *创建时间:2023/8/11 12:10
- */
- @Getter
- @Setter
- @SearchBean(tables = "(select * from channel_popularize where :id:) cp left join channel c on c.id = cp.channel_id")
- public class ChannelPopularizeFrontView {
- /**
- * 渠道id
- */
- @DbField("cp.channel_id")
- private Long channelId;
- @DbField("c.name")
- private String channelName;
- /**
- * 链接名称
- */
- @DbField("cp.name")
- private String name;
- /**
- * url
- */
- @DbField("cp.url")
- private String url;
- /**
- * 样式
- */
- @DbField("cp.modality")
- private String modality;
- /**
- * 支付方式
- */
- @DbField("cp.pay_method")
- private String payMethod;
- /**
- * 是否展示规格弹窗
- */
- @DbField("cp.is_show_sku")
- private Boolean isShowSku;
- /**
- * 是否隐藏平台logo
- */
- @DbField("cp.is_show_logo")
- private Boolean isShowLogo;
- /**
- * 绑定的优惠券
- */
- @DbField("cp.coupon_ids")
- @JsonIgnore
- private String couponIds;
- /**
- * 是否免登录
- */
- @DbIgnore
- private Boolean isSign = false;
- @DbIgnore
- private BigDecimal discount;
- @DbIgnore
- private List<CouponTfPopularizeView> coupons;
- }
|