88 lines
1.5 KiB
Java
88 lines
1.5 KiB
Java
package com.tiesheng.message.pojos;
|
||
|
||
public class MessageReqResp {
|
||
|
||
private String type;
|
||
|
||
/**
|
||
* 发送对象
|
||
*/
|
||
private String target;
|
||
|
||
/**
|
||
* 发送内容
|
||
*/
|
||
private String content;
|
||
|
||
/**
|
||
* 返回结果
|
||
*/
|
||
private String respBody;
|
||
|
||
/**
|
||
* 结果,0-否,1-是
|
||
*/
|
||
private Integer result;
|
||
|
||
/**
|
||
* 提示的异常信息
|
||
*/
|
||
private String toast;
|
||
|
||
public MessageReqResp(String type) {
|
||
this.type = type;
|
||
}
|
||
|
||
///////////////////////////////////////////////////////////////////////////
|
||
// setter\getter
|
||
///////////////////////////////////////////////////////////////////////////
|
||
|
||
public String getType() {
|
||
return type;
|
||
}
|
||
|
||
public void setType(String type) {
|
||
this.type = type;
|
||
}
|
||
|
||
public String getTarget() {
|
||
return target;
|
||
}
|
||
|
||
public void setTarget(String target) {
|
||
this.target = target;
|
||
}
|
||
|
||
public String getContent() {
|
||
return content;
|
||
}
|
||
|
||
public void setContent(String content) {
|
||
this.content = content;
|
||
}
|
||
|
||
public String getRespBody() {
|
||
return respBody;
|
||
}
|
||
|
||
public void setRespBody(String respBody) {
|
||
this.respBody = respBody;
|
||
}
|
||
|
||
public Integer getResult() {
|
||
return result;
|
||
}
|
||
|
||
public void setResult(Integer result) {
|
||
this.result = result;
|
||
}
|
||
|
||
public String getToast() {
|
||
return toast;
|
||
}
|
||
|
||
public void setToast(String toast) {
|
||
this.toast = toast;
|
||
}
|
||
}
|