LANCommander/LANCommander.Server.Data/Models/ChatThread.cs
Pat Hartl a92c7be6ec Enhance chat list
- Added SafeAvatar component for retrieving user avatars with fallback to initials
- Added a title/name for chat threads
- Moved chat input to a separate component
2025-11-03 23:27:05 -06:00

13 lines
No EOL
379 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace LANCommander.Server.Data.Models;
[Table("ChatThreads")]
public class ChatThread : BaseModel
{
[MaxLength(64)]
public string? Name { get; set; }
public ICollection<ChatMessage>? Messages { get; set; }
public ICollection<User>? Participants { get; set; }
}