mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
6062113655
Introduces comprehensive unit tests for MessageService covering send, edit, and delete message scenarios. Adds and implements IGroupsRepository, IGroupsReader, and IGroupsWriter interfaces with method stubs in GroupRepository. Updates ChatGroup model with Description and ImageId fields, and registers GroupRepository in DI. Fixes parameter order in SendMessage record.
14 lines
394 B
C#
14 lines
394 B
C#
namespace Govor.Core.Models;
|
|
|
|
public class ChatGroup
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string Name { get; set; }
|
|
public string Description { get; set; }
|
|
public Guid ImageId { get; set; }
|
|
|
|
public List<string> InviteCode { get; set; }
|
|
public bool IsChannel { get; set; }
|
|
public bool IsPrivate { get; set; }
|
|
public List<Guid> Admins { get; set; } = new();
|
|
} |