| | |
| | | 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; |
| | | } |