Helius
2021-05-27 0918083443d3920335c5b09a5d28e4f8d1bb3f45
src/main/java/com/xcong/excoin/netty/bean/ChatRequest.java
@@ -1,48 +1,31 @@
package com.xcong.excoin.netty.bean;
import java.io.Serializable;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 *  {"data": {"fromMemberId": 443, "isSelf": 1, "memberId": 443, "msg": "w shi shei ", "msgType": 1, "targetId": 444}, "type": 2}
 */
@Data
public class ChatRequest implements Serializable {
    private static final long serialVersionUID = 3079080008111369136L;
    private String to;
    private Long fromMemberId;
    private String from;
    private Long targetId;
    private Long memberId;
    private Integer msgType;
    private String content;
    private String msg;
    public String getTo() {
        return to;
    }
    private Integer isSelf;
    public void setTo(String to) {
        this.to = to;
    }
    private Integer cmd;
    public String getFrom() {
        return from;
    }
    public void setFrom(String from) {
        this.from = from;
    }
    public Integer getMsgType() {
        return msgType;
    }
    public void setMsgType(Integer msgType) {
        this.msgType = msgType;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    private Long timestamp;
}