using System;

namespace timetracker.Shared;

public class TenantStats
{
    public int Id { get; set; }
    public string Name { get; set; } = "";
    public string Subdomain { get; set; } = "";
    public bool IsApproved { get; set; }
    public DateTime CreatedAt { get; set; }
    public int UserCount { get; set; }
    public int WorkDaysCount { get; set; }
    public List<TenantUserDto> Users { get; set; } = new();
    public bool ShowDetails { get; set; }
}

public class TenantUserDto
{
    public int Id { get; set; }
    public string Username { get; set; } = "";
    public bool IsTenantAdmin { get; set; }
}
