重新调整活动Banner逻辑
This commit is contained in:
@@ -15,6 +15,7 @@ public class BannerBean {
|
||||
private String mIntoUrl;
|
||||
private int type;
|
||||
private String name;
|
||||
private int activityId=0;
|
||||
|
||||
private StarChallengeStatusModel model;
|
||||
|
||||
@@ -90,6 +91,14 @@ public class BannerBean {
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
@JSONField(name = "active_id")
|
||||
public int getActivityId() {
|
||||
return activityId;
|
||||
}
|
||||
@JSONField(name = "active_id")
|
||||
public void setActivityId(int activityId) {
|
||||
this.activityId = activityId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
|
||||
@@ -16,6 +16,8 @@ public class LiveRoomActivityBanner extends BaseModel{
|
||||
private int hidden;
|
||||
@SerializedName("show_type")
|
||||
private String type;
|
||||
@SerializedName("active_id")
|
||||
private int activeId;
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
@@ -56,4 +58,12 @@ public class LiveRoomActivityBanner extends BaseModel{
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public int getActiveId() {
|
||||
return activeId;
|
||||
}
|
||||
|
||||
public void setActiveId(int activeId) {
|
||||
this.activeId = activeId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user