Files
Govor/Govor.Core/Models/GroupInvitation.cs
T
Artemy 2cb6a93060 Add private chat support and group model enhancements
Introduces repositories, validators, and integration tests for private chats. Refactors group-related models to support invitations and memberships, updates group repository interfaces and implementations, and enhances message service logic to handle private chat creation and retrieval. Also registers new services and validators in DI, and updates related tests.
2025-07-07 13:55:29 +07:00

15 lines
498 B
C#

namespace Govor.Core.Models;
public class GroupInvitation
{
public Guid Id { get; set; }
public Guid GroupId { get; set; }
public Guid UserMakerId { get; set; }
public string InvitationCode { get; set; }
public string Description {get; set;}
public DateTime EndDate { get; set; }
public DateTime CreatedAt { get; set; }
public int MaxParticipants { get; set; }
public List<Guid> GroupMemberships { get; set; } = new();
public User? UserMaker { get; set; }
}