盲盒礼物具体业务逻辑的构建,IM消息的构建
This commit is contained in:
@@ -0,0 +1,558 @@
|
||||
package com.yunbao.common.event;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.yunbao.common.bean.BaseModel;
|
||||
|
||||
public class SendBlindGiftEvent extends BaseModel {
|
||||
|
||||
@SerializedName("uid")
|
||||
private String uid;
|
||||
@SerializedName("giftid")
|
||||
private String giftid;
|
||||
@SerializedName("type")
|
||||
private String type;
|
||||
@SerializedName("mark")
|
||||
private String mark;
|
||||
@SerializedName("wrap_gift_num")
|
||||
private String wrapGiftNum;
|
||||
@SerializedName("giftcount")
|
||||
private String giftcount;
|
||||
@SerializedName("totalcoin")
|
||||
private String totalcoin;
|
||||
@SerializedName("giftname")
|
||||
private String giftname;
|
||||
@SerializedName("giftnameen")
|
||||
private String giftnameen;
|
||||
@SerializedName("gifticon")
|
||||
private String gifticon;
|
||||
@SerializedName("swftime")
|
||||
private String swftime;
|
||||
@SerializedName("swftype")
|
||||
private String swftype;
|
||||
@SerializedName("swf")
|
||||
private String swf;
|
||||
@SerializedName("level")
|
||||
private String level;
|
||||
@SerializedName("medal_name")
|
||||
private String medalName;
|
||||
@SerializedName("medal_level")
|
||||
private String medalLevel;
|
||||
@SerializedName("coin")
|
||||
private String coin;
|
||||
@SerializedName("gold")
|
||||
private String gold;
|
||||
@SerializedName("votestotal")
|
||||
private String votestotal;
|
||||
@SerializedName("medalRankNum")
|
||||
private String medalRankNum;
|
||||
@SerializedName("ispk")
|
||||
private String ispk;
|
||||
@SerializedName("pkuid")
|
||||
private boolean pkuid;
|
||||
@SerializedName("pkuid1")
|
||||
private String pkuid1;
|
||||
@SerializedName("pkuid2")
|
||||
private String pkuid2;
|
||||
@SerializedName("pktotal1")
|
||||
private String pktotal1;
|
||||
@SerializedName("pktotal2")
|
||||
private String pktotal2;
|
||||
@SerializedName("active_total")
|
||||
private String activeTotal;
|
||||
@SerializedName("blind_box_status")
|
||||
private boolean blindBoxStatus;
|
||||
@SerializedName("gift_id")
|
||||
private String giftId;
|
||||
@SerializedName("gift_type")
|
||||
private String giftType;
|
||||
@SerializedName("needcoin")
|
||||
private String needcoin;
|
||||
@SerializedName("gift_msg")
|
||||
private String giftMsg;
|
||||
@SerializedName("gift_notification")
|
||||
private boolean giftNotification;
|
||||
@SerializedName("gift_colour")
|
||||
private String giftColour;
|
||||
@SerializedName("box_type")
|
||||
private String boxType;
|
||||
@SerializedName("box_type_name")
|
||||
private String boxTypeName;
|
||||
@SerializedName("action")
|
||||
private String action;
|
||||
@SerializedName("dress_notification")
|
||||
private boolean dressNotification;
|
||||
@SerializedName("dress_type")
|
||||
private Object dressType;
|
||||
@SerializedName("dress_id")
|
||||
private Object dressId;
|
||||
@SerializedName("dress_name")
|
||||
private String dressName;
|
||||
@SerializedName("display_src")
|
||||
private Object displaySrc;
|
||||
@SerializedName("effect_src")
|
||||
private Object effectSrc;
|
||||
@SerializedName("dress_description")
|
||||
private Object dressDescription;
|
||||
@SerializedName("noble_dress")
|
||||
private Object nobleDress;
|
||||
@SerializedName("dress_msg")
|
||||
private String dressMsg;
|
||||
@SerializedName("dress_colour")
|
||||
private String dressColour;
|
||||
@SerializedName("dress_threshold_value")
|
||||
private String dressThresholdValue;
|
||||
@SerializedName("live_gift_notify")
|
||||
private String liveGiftNotify;
|
||||
@SerializedName("userNiceName")
|
||||
private String userNiceName;
|
||||
|
||||
public String getUserNiceName() {
|
||||
return userNiceName;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setUserNiceName(String userNiceName) {
|
||||
this.userNiceName = userNiceName;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getUid() {
|
||||
return uid;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setUid(String uid) {
|
||||
this.uid = uid;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getGiftid() {
|
||||
return giftid;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setGiftid(String giftid) {
|
||||
this.giftid = giftid;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setType(String type) {
|
||||
this.type = type;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getMark() {
|
||||
return mark;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setMark(String mark) {
|
||||
this.mark = mark;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getWrapGiftNum() {
|
||||
return wrapGiftNum;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setWrapGiftNum(String wrapGiftNum) {
|
||||
this.wrapGiftNum = wrapGiftNum;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getGiftcount() {
|
||||
return giftcount;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setGiftcount(String giftcount) {
|
||||
this.giftcount = giftcount;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getTotalcoin() {
|
||||
return totalcoin;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setTotalcoin(String totalcoin) {
|
||||
this.totalcoin = totalcoin;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getGiftname() {
|
||||
return giftname;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setGiftname(String giftname) {
|
||||
this.giftname = giftname;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getGiftnameen() {
|
||||
return giftnameen;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setGiftnameen(String giftnameen) {
|
||||
this.giftnameen = giftnameen;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getGifticon() {
|
||||
return gifticon;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setGifticon(String gifticon) {
|
||||
this.gifticon = gifticon;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getSwftime() {
|
||||
return swftime;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setSwftime(String swftime) {
|
||||
this.swftime = swftime;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getSwftype() {
|
||||
return swftype;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setSwftype(String swftype) {
|
||||
this.swftype = swftype;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getSwf() {
|
||||
return swf;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setSwf(String swf) {
|
||||
this.swf = swf;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getLevel() {
|
||||
return level;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setLevel(String level) {
|
||||
this.level = level;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getMedalName() {
|
||||
return medalName;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setMedalName(String medalName) {
|
||||
this.medalName = medalName;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getMedalLevel() {
|
||||
return medalLevel;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setMedalLevel(String medalLevel) {
|
||||
this.medalLevel = medalLevel;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getCoin() {
|
||||
return coin;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setCoin(String coin) {
|
||||
this.coin = coin;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getGold() {
|
||||
return gold;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setGold(String gold) {
|
||||
this.gold = gold;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getVotestotal() {
|
||||
return votestotal;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setVotestotal(String votestotal) {
|
||||
this.votestotal = votestotal;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getMedalRankNum() {
|
||||
return medalRankNum;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setMedalRankNum(String medalRankNum) {
|
||||
this.medalRankNum = medalRankNum;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getIspk() {
|
||||
return ispk;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setIspk(String ispk) {
|
||||
this.ispk = ispk;
|
||||
return this;
|
||||
}
|
||||
|
||||
public boolean isPkuid() {
|
||||
return pkuid;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setPkuid(boolean pkuid) {
|
||||
this.pkuid = pkuid;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getPkuid1() {
|
||||
return pkuid1;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setPkuid1(String pkuid1) {
|
||||
this.pkuid1 = pkuid1;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getPkuid2() {
|
||||
return pkuid2;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setPkuid2(String pkuid2) {
|
||||
this.pkuid2 = pkuid2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getPktotal1() {
|
||||
return pktotal1;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setPktotal1(String pktotal1) {
|
||||
this.pktotal1 = pktotal1;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getPktotal2() {
|
||||
return pktotal2;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setPktotal2(String pktotal2) {
|
||||
this.pktotal2 = pktotal2;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getActiveTotal() {
|
||||
return activeTotal;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setActiveTotal(String activeTotal) {
|
||||
this.activeTotal = activeTotal;
|
||||
return this;
|
||||
}
|
||||
|
||||
public boolean isBlindBoxStatus() {
|
||||
return blindBoxStatus;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setBlindBoxStatus(boolean blindBoxStatus) {
|
||||
this.blindBoxStatus = blindBoxStatus;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getGiftId() {
|
||||
return giftId;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setGiftId(String giftId) {
|
||||
this.giftId = giftId;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getGiftType() {
|
||||
return giftType;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setGiftType(String giftType) {
|
||||
this.giftType = giftType;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getNeedcoin() {
|
||||
return needcoin;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setNeedcoin(String needcoin) {
|
||||
this.needcoin = needcoin;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getGiftMsg() {
|
||||
return giftMsg;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setGiftMsg(String giftMsg) {
|
||||
this.giftMsg = giftMsg;
|
||||
return this;
|
||||
}
|
||||
|
||||
public boolean isGiftNotification() {
|
||||
return giftNotification;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setGiftNotification(boolean giftNotification) {
|
||||
this.giftNotification = giftNotification;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getGiftColour() {
|
||||
return giftColour;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setGiftColour(String giftColour) {
|
||||
this.giftColour = giftColour;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getBoxType() {
|
||||
return boxType;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setBoxType(String boxType) {
|
||||
this.boxType = boxType;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getBoxTypeName() {
|
||||
return boxTypeName;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setBoxTypeName(String boxTypeName) {
|
||||
this.boxTypeName = boxTypeName;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getAction() {
|
||||
return action;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setAction(String action) {
|
||||
this.action = action;
|
||||
return this;
|
||||
}
|
||||
|
||||
public boolean isDressNotification() {
|
||||
return dressNotification;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setDressNotification(boolean dressNotification) {
|
||||
this.dressNotification = dressNotification;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Object getDressType() {
|
||||
return dressType;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setDressType(Object dressType) {
|
||||
this.dressType = dressType;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Object getDressId() {
|
||||
return dressId;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setDressId(Object dressId) {
|
||||
this.dressId = dressId;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getDressName() {
|
||||
return dressName;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setDressName(String dressName) {
|
||||
this.dressName = dressName;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Object getDisplaySrc() {
|
||||
return displaySrc;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setDisplaySrc(Object displaySrc) {
|
||||
this.displaySrc = displaySrc;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Object getEffectSrc() {
|
||||
return effectSrc;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setEffectSrc(Object effectSrc) {
|
||||
this.effectSrc = effectSrc;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Object getDressDescription() {
|
||||
return dressDescription;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setDressDescription(Object dressDescription) {
|
||||
this.dressDescription = dressDescription;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Object getNobleDress() {
|
||||
return nobleDress;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setNobleDress(Object nobleDress) {
|
||||
this.nobleDress = nobleDress;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getDressMsg() {
|
||||
return dressMsg;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setDressMsg(String dressMsg) {
|
||||
this.dressMsg = dressMsg;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getDressColour() {
|
||||
return dressColour;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setDressColour(String dressColour) {
|
||||
this.dressColour = dressColour;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getDressThresholdValue() {
|
||||
return dressThresholdValue;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setDressThresholdValue(String dressThresholdValue) {
|
||||
this.dressThresholdValue = dressThresholdValue;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getLiveGiftNotify() {
|
||||
return liveGiftNotify;
|
||||
}
|
||||
|
||||
public SendBlindGiftEvent setLiveGiftNotify(String liveGiftNotify) {
|
||||
this.liveGiftNotify = liveGiftNotify;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user