namespace TrackQrApi.Models;

public enum DomainStatus
{
    Pending,
    Verified,
    Active
}

public class Domain
{
    public Guid Id { get; set; }
    public Guid WorkspaceId { get; set; }
    public required string Hostname { get; set; }
    public DomainStatus Status { get; set; } = DomainStatus.Pending;
    public required string VerificationToken { get; set; }
    public DateTime CreatedAt { get; set; }

    // Navigation properties
    public Workspace Workspace { get; set; } = null!;
    public ICollection<ShortLink> ShortLinks { get; set; } = [];
}