Files
Govor/Govor.Domain/Models/GroupInvitation.cs
Artemy 2e9d7e625e Add primitive groups and required channel
Adds server-side group and channel management, private invitations, member moderation, avatar handling, and required-channel configuration. This change also introduces SignalR group profile/member notifications, updates registration to atomically join required channels, and adds EF migration and test coverage for group membership, permissions, and invitation expiry rules.
2026-10-04 10:35:07 +07:00

20 lines
614 B
C#

using Govor.Domain.Models.Users;
namespace Govor.Domain.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 int UsedCount { get; set; }
public bool IsRevoked { get; set; }
public List<Guid> GroupMemberships { get; set; } = new();
public User? UserMaker { get; set; }
}