package org.ntlab.tampoposerver.models; import java.util.Collection; public class ChatRooms { private Integer chatRoomId; private String user0Id; private String user1Id; private String newContent; private String chatRoomNumber; public ChatRooms(Integer chatRoomId, String user0Id, String user1Id) { this.chatRoomId = chatRoomId; } public Integer getChatRoomId() { return chatRoomId; } public void setChatRoomId(Integer chatRoomId) { this.chatRoomId = chatRoomId; } public void addUser(String userId) { } public void put(Integer chatRoomId, String chatRoomNumber) { } public Integer updateMessage() { return chatRoomId; } public ChatRooms updateMessage(Integer chatRoomId, String userId, String newContent) {this.chatRoomId = chatRoomId; this.user0Id = userId; this.newContent = newContent; return this;} public ChatRooms addMessage(String senderId, String content) { return null; } public ChatRooms getMessages() { return null; } }