mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
2cb6a93060
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.
10 lines
253 B
C#
10 lines
253 B
C#
namespace Govor.Core.Models;
|
|
|
|
public class GroupMembership
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid GroupId { get; set; }
|
|
public Guid UserId { get; set; }
|
|
public Guid InvitationId { get; set; }
|
|
public bool IsBanned { get; set; }
|
|
} |