package com.gnx.telemedicine.dto.message;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.List;
import java.util.UUID;

@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ConversationDto {
    private UUID otherUserId;
    private String otherUserName;
    private String otherUserRole;
    private Boolean isOnline;
    private String otherUserStatus; // ONLINE, OFFLINE, BUSY
    private LocalDateTime lastSeen;
    private Long unreadCount;
    private MessageResponseDto lastMessage;
    private List<MessageResponseDto> messages;
    private String otherUserAvatarUrl;
}

