4.推送消息的实体类 Message.java
/**
-
@Author JCccc
-
@Description
-
@Date 2021/8/20 9:26
*/
public class Message {
/**
- 消息编码
*/
private String code;
/**
- 来自(保证唯一)
*/
private String form;
/**
- 去自(保证唯一)
*/
private String to;
/**
- 内容
*/
private String content;
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getForm() {
return form;
}
public void setForm(String form) {
this.form = form;
}
public String getTo() {
return to;
}
public void setTo(String to) {
<