namespace SharepointToolbox.Core.Models;

public class SiteTemplate
{
    public string Id { get; set; } = Guid.NewGuid().ToString();
    public string Name { get; set; } = string.Empty;
    public string SourceUrl { get; set; } = string.Empty;
    public DateTime CapturedAt { get; set; }
    public string SiteType { get; set; } = string.Empty; // "Team" or "Communication"
    public SiteTemplateOptions Options { get; set; } = new();
    public TemplateSettings? Settings { get; set; }
    public TemplateLogo? Logo { get; set; }
    public List<TemplateLibraryInfo> Libraries { get; set; } = new();
    public List<TemplatePermissionGroup> PermissionGroups { get; set; } = new();
}

public class TemplateSettings
{
    public string Title { get; set; } = string.Empty;
    public string Description { get; set; } = string.Empty;
    public int Language { get; set; }
}

public class TemplateLogo
{
    public string LogoUrl { get; set; } = string.Empty;
}
