Command.cs 360 B

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