namespace Application.Features.Director.LoginLog.Search;

public sealed class Response
{
    public int Total { get; init; }

    public required IReadOnlyList<Row> List { get; init; }

    public sealed class Row
    {
        public int Num { get; init; }
        public int ID { get; init; }
        public required string Account { get; init; }
        public bool Success { get; init; }
        public string? Reason { get; init; }
        public string? IpAddress { get; init; }
        public string? UserAgent { get; init; }
        public string? Browser { get; init; }
        public string? OS { get; init; }
        public string? Device { get; init; }
        public required DateTime CreatedAt { get; init; }
    }
}