- 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
13 lines
No EOL
379 B
C#
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; }
|
|
} |