合并接口第liu次次上传

This commit is contained in:
18401019693
2022-11-26 16:52:11 +08:00
parent 3bdee09402
commit 7005895d90
6 changed files with 282 additions and 65 deletions

View File

@@ -0,0 +1,105 @@
package com.yunbao.common.bean;
import com.google.gson.annotations.SerializedName;
public class GiftModel extends BaseModel{
@SerializedName("id")
private String id;
@SerializedName("sendtype")
private String sendtype;
@SerializedName("type")
private String type;
@SerializedName("mark")
private String mark;
@SerializedName("giftname")
private String giftname;
@SerializedName("needcoin")
private String needcoin;
@SerializedName("gifticon")
private String gifticon;
@SerializedName("swf")
private String swf;
@SerializedName("gift_uid")
private String giftUid;
public String getId() {
return id;
}
public GiftModel setId(String id) {
this.id = id;
return this;
}
public String getSendtype() {
return sendtype;
}
public GiftModel setSendtype(String sendtype) {
this.sendtype = sendtype;
return this;
}
public String getType() {
return type;
}
public GiftModel setType(String type) {
this.type = type;
return this;
}
public String getMark() {
return mark;
}
public GiftModel setMark(String mark) {
this.mark = mark;
return this;
}
public String getGiftname() {
return giftname;
}
public GiftModel setGiftname(String giftname) {
this.giftname = giftname;
return this;
}
public String getNeedcoin() {
return needcoin;
}
public GiftModel setNeedcoin(String needcoin) {
this.needcoin = needcoin;
return this;
}
public String getGifticon() {
return gifticon;
}
public GiftModel setGifticon(String gifticon) {
this.gifticon = gifticon;
return this;
}
public String getSwf() {
return swf;
}
public GiftModel setSwf(String swf) {
this.swf = swf;
return this;
}
public String getGiftUid() {
return giftUid;
}
public GiftModel setGiftUid(String giftUid) {
this.giftUid = giftUid;
return this;
}
}

View File

@@ -3,12 +3,49 @@ package com.yunbao.common.bean;
import com.google.gson.annotations.SerializedName;
public class NewPeopleTaskModel extends BaseModel {
// @SerializedName("task")
// private TaskModel task;
// @SerializedName("gift")
// private GiftModel gift;
// @SerializedName("reward_all")
// private RewardAllModel rewardAll;
// @SerializedName("reward_one")
// private RewardAllModel rewardOne;
@SerializedName("task")
private TaskModel task;
@SerializedName("gift")
private GiftModel gift;
@SerializedName("reward_all")
private RewardAllModel rewardAll;
@SerializedName("reward_one")
private RewardAllModel rewardOne;
public TaskModel getTask() {
return task;
}
public NewPeopleTaskModel setTask(TaskModel task) {
this.task = task;
return this;
}
public GiftModel getGift() {
return gift;
}
public NewPeopleTaskModel setGift(GiftModel gift) {
this.gift = gift;
return this;
}
public RewardAllModel getRewardAll() {
return rewardAll;
}
public NewPeopleTaskModel setRewardAll(RewardAllModel rewardAll) {
this.rewardAll = rewardAll;
return this;
}
public RewardAllModel getRewardOne() {
return rewardOne;
}
public NewPeopleTaskModel setRewardOne(RewardAllModel rewardOne) {
this.rewardOne = rewardOne;
return this;
}
}

View File

@@ -0,0 +1,28 @@
package com.yunbao.common.bean;
import com.google.gson.annotations.SerializedName;
public class RewardAllModel extends BaseModel{
@SerializedName("gold")
private String gold;
@SerializedName("experience")
private String experience;
public String getGold() {
return gold;
}
public RewardAllModel setGold(String gold) {
this.gold = gold;
return this;
}
public String getExperience() {
return experience;
}
public RewardAllModel setExperience(String experience) {
this.experience = experience;
return this;
}
}

View File

@@ -0,0 +1,50 @@
package com.yunbao.common.bean;
import com.google.gson.annotations.SerializedName;
public class TaskModel extends BaseModel{
@SerializedName("uid")
private String uid;
@SerializedName("attent")
private String attent;
@SerializedName("illumine")
private String illumine;
@SerializedName("sendgift")
private String sendgift;
public String getUid() {
return uid;
}
public TaskModel setUid(String uid) {
this.uid = uid;
return this;
}
public String getAttent() {
return attent;
}
public TaskModel setAttent(String attent) {
this.attent = attent;
return this;
}
public String getIllumine() {
return illumine;
}
public TaskModel setIllumine(String illumine) {
this.illumine = illumine;
return this;
}
public String getSendgift() {
return sendgift;
}
public TaskModel setSendgift(String sendgift) {
this.sendgift = sendgift;
return this;
}
}