package thyyxxk.webserver.entity.socketmessage;

import lombok.Data;

import javax.websocket.Session;

@Data
public class ApiMessageBody {
    private String sid;
    private String userCode;
    private String roomCode;
    private String documentId;
    private Session session;
    private String groupId;
    private String messageContent;

    private String mode;

    public ApiMessageBody() {
    }

    public ApiMessageBody(String messageContent) {
        this.messageContent = messageContent;
    }

    public ApiMessageBody(String userCode, String messageContent) {
        this.userCode = userCode;
        this.messageContent = messageContent;
    }

}
