Response.cs 730 B

1234567891011121314151617181920212223
  1. namespace Application.Features.Director.LoginLog.Search;
  2. public sealed class Response
  3. {
  4. public int Total { get; init; }
  5. public required IReadOnlyList<Row> List { get; init; }
  6. public sealed class Row
  7. {
  8. public int Num { get; init; }
  9. public int ID { get; init; }
  10. public required string Account { get; init; }
  11. public bool Success { get; init; }
  12. public string? Reason { get; init; }
  13. public string? IpAddress { get; init; }
  14. public string? UserAgent { get; init; }
  15. public string? Browser { get; init; }
  16. public string? OS { get; init; }
  17. public string? Device { get; init; }
  18. public required DateTime CreatedAt { get; init; }
  19. }
  20. }