增加needPushOnView 参数~
This commit is contained in:
parent
570b012c4c
commit
0dec5c1c0f
@ -155,6 +155,9 @@ public class CouponBaseInfo implements Serializable {
|
||||
@JSONField(name = "can_give_friend")
|
||||
private boolean canGiveFriend;
|
||||
|
||||
@JSONField(name = "need_push_on_view")
|
||||
private Boolean needPushOnView;
|
||||
|
||||
private CouponBaseInfo(Builder builder) {
|
||||
this.logoUrl = builder.logoUrl;
|
||||
this.brandName = builder.brandName;
|
||||
@ -183,6 +186,7 @@ public class CouponBaseInfo implements Serializable {
|
||||
this.limitNum = builder.limitNum;
|
||||
this.canShare = builder.canShare;
|
||||
this.canGiveFriend = builder.canGiveFriend;
|
||||
this.needPushOnView = builder.needPushOnView;
|
||||
};
|
||||
|
||||
public String getLogoUrl() {
|
||||
@ -293,6 +297,10 @@ public class CouponBaseInfo implements Serializable {
|
||||
return canGiveFriend;
|
||||
}
|
||||
|
||||
public Boolean getNeedPushOnView() {
|
||||
return needPushOnView;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "logoUrl=" + logoUrl + ", brandName=" + brandName + ", title="
|
||||
@ -440,6 +448,11 @@ public class CouponBaseInfo implements Serializable {
|
||||
*/
|
||||
private boolean canGiveFriend;
|
||||
|
||||
/**
|
||||
* 用户点击进入卡券时推送事件
|
||||
*/
|
||||
private boolean needPushOnView;
|
||||
|
||||
/**
|
||||
* 默认永久有效
|
||||
*/
|
||||
@ -811,6 +824,11 @@ public class CouponBaseInfo implements Serializable {
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder needPushOnView(boolean needPushOnView){
|
||||
this.needPushOnView = needPushOnView;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回卡券的基础信息
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user