feat: Сервисы и модели RabbitMq разнесены согласно архитектуры
This commit is contained in:
18
PARR.Domain/Common/Rabbit/RabbitSendResult.cs
Normal file
18
PARR.Domain/Common/Rabbit/RabbitSendResult.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace PARR.Domain.Common.Rabbit
|
||||
{
|
||||
/// <summary>
|
||||
/// Результат отправки очереди в MQ
|
||||
/// </summary>
|
||||
public record RabbitSendResult
|
||||
{
|
||||
/// <summary>
|
||||
/// Результат отправки
|
||||
/// </summary>
|
||||
public bool IsSuccess { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Неотправленные сообщения
|
||||
/// </summary>
|
||||
public string[]? NotSendMessages { get; init; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user