Response.cs 342 B

123456789101112131415161718
  1. namespace Application.Features.Api.MyPage.GetLoginLogs;
  2. public sealed record Response(
  3. List<LoginLogItem> List,
  4. int Total,
  5. int Page,
  6. int PerPage
  7. );
  8. public sealed record LoginLogItem(
  9. int ID,
  10. bool Success,
  11. string Account,
  12. string? Reason,
  13. string? IpAddress,
  14. string? UserAgent,
  15. DateTime CreatedAt
  16. );