Files
Govor/Govor.Core/Models/PrivateChat.cs
T
Artemy ec44347bbe Add username validation and initial friends feature
Introduced a UsernameValidator with Cyrillic and length checks, integrated into AuthService and registration flow. Added InvalidUsernameException and related interface. Updated User model to support friend requests, added FriendsController (stub), and configured Friendship entity in EF Core. Adjusted UserValidator max name length and removed navigation properties from PrivateChat.
2025-06-27 16:36:56 +07:00

9 lines
239 B
C#

namespace Govor.Core.Models;
public class PrivateChat
{
public Guid Id { get; set; }
public Guid UserAId { get; set; }
public Guid UserBId { get; set; }
public List<Message> Messages { get; set; } = new List<Message>();
}