namespace Nuuru.Server.Models.Messaging { /// /// Junction table for conversation participants /// public class ConversationParticipant { public Guid ConversationId { get; set; } public Conversation Conversation { get; set; } = null!; public Guid UserId { get; set; } public ApplicationUser User { get; set; } = null!; public DateTime JoinedAt { get; set; } = DateTime.UtcNow; public DateTime? LastReadAt { get; set; } /// /// Whether the user has left the conversation /// public bool HasLeft { get; set; } = false; public DateTime? LeftAt { get; set; } } }