Command.cs 324 B

12345678910111213
  1. using Application.Abstractions.Messaging;
  2. namespace Application.Features.Api.Note.SendNote;
  3. public sealed record Command(
  4. int ReceiverMemberID,
  5. string Title,
  6. string Content,
  7. bool IsSystem = false,
  8. string? RelatedType = null,
  9. int? RelatedID = null,
  10. int SenderMemberID = 0
  11. ) : ICommand<Response>;