Response.cs 399 B

12345678910111213141516
  1. namespace Application.Features.Api.Note.GetInbox;
  2. public sealed record Response(int Total, int UnreadCount, IReadOnlyList<NoteItem> List);
  3. public sealed record NoteItem(
  4. int ID,
  5. int SenderMemberID,
  6. string? SenderName,
  7. string? SenderSID,
  8. string? SenderChannelName,
  9. string? SenderChannelHandle,
  10. string Title,
  11. bool IsRead,
  12. bool IsSystem,
  13. DateTime CreatedAt
  14. );