namespace Application.Features.Director.AccessLog.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 long ID { get; init; }
        public required string UserID { get; init; }
        public string? UserName { get; init; }
        public required string Method { get; init; }
        public required string Path { get; init; }
        public string? QueryString { get; init; }
        public int StatusCode { get; init; }
        public long ElapsedMs { get; init; }
        public string? MenuName { get; init; }
        public string? IpAddress { get; init; }
        public string? UserAgent { get; init; }
        public required DateTime CreatedAt { get; init; }
    }
}