mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-16 20:56:03 +00:00
2e9d7e625e
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.
20 lines
614 B
C#
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; }
|
|
}
|