namespace Sonex.Client.Controls.SceneCanvas;

public sealed class SceneCanvasLayoutInfo
{
    public SceneCanvasLayoutInfo(int id, string name, string? description = null, bool isVisible = true)
    {
        Id = id;
        Name = string.IsNullOrWhiteSpace(name) ? $"Layout {id}" : name.Trim();
        Description = string.IsNullOrWhiteSpace(description) ? string.Empty : description.Trim();
        IsVisible = isVisible;
    }

    public int Id { get; }

    public string Name { get; set; }

    public string Description { get; set; }

    public bool IsVisible { get; set; } = true;
}
