package com.pgf.mqspring.model; import java.io.Serializable; public class SendMessageRequestModel implements Serializable { /** SendMessage */ private String normalMessage; private ReceiveMapVectorRequestModel receiveMapVector; private String ads; public SendMessageRequestModel() { } public SendMessageRequestModel(String normalMessage, ReceiveMapVectorRequestModel receiveMapVector, String ads) { this.normalMessage = normalMessage; this.receiveMapVector = receiveMapVector; this.ads = ads; } public String getNormalMessage() { return (normalMessage == null) ? "" : normalMessage; } public void setNormalMessage(String normalMessage) { this.normalMessage = normalMessage; } public ReceiveMapVectorRequestModel getReceiveMapVector() { return receiveMapVector; } public void setReceiveMapVector(ReceiveMapVectorRequestModel receiveMapVector) { this.receiveMapVector = receiveMapVector; } public String getAds() { return (ads == null) ? "" : ads; } public void setAds(String ads) { this.ads = ads; } @Override public String toString() { StringBuilder str = new StringBuilder(); str.append(getNormalMessage()); str.append(getReceiveMapVector()); str.append(getAds()); return String.format("%s", str.toString()); } }