/**
 * This file is part of the Meeds project (https://meeds.io/).
 *
 * Copyright (C) 2020 - 2025 Meeds Association contact@meeds.io
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 */
package io.meeds.chat.rest.model;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class RoomEntity implements Serializable {

  private LastMessage  lastMessage;

  private String       topic;

  private String       name;

  private String       avatarUrl;

  private String       id;

  private boolean      enabledUser;

  private boolean      deletedUser;

  private String       presence = "offline"; //"online", "offline" or "unavailable"

  private boolean      directChat;

  private long         updated;

  private long         unreadMessages;

  private String       dmMemberId;

  private String       userId;

  private String       matrixId;

  private String       prettyName;

  private String       identityId;

  private String       spaceId;

  private boolean      favorite;

  private boolean      external;

  private String       status;

  private boolean      isMuted;

  private List<Member> members;


}
