Command.cs 391 B

123456789101112131415
  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. bool SendToRandom = false
  13. ) : ICommand<Result<Response>>;