Files
SQLVision/SQLVision.UI/ViewModels/ScriptCategory.cs
2026-01-05 00:37:54 +03:00

29 lines
646 B
C#

using SQLVision.Core.Models;
using System.Collections.ObjectModel;
namespace SQLVision.UI.ViewModels;
public class ScriptCategory : ObservableObject
{
private string _name;
private ObservableCollection<ScriptMetadata> _scripts;
private bool _isExpanded = true;
public string Name
{
get => _name;
set => SetProperty(ref _name, value);
}
public ObservableCollection<ScriptMetadata> Scripts
{
get => _scripts;
set => SetProperty(ref _scripts, value);
}
public bool IsExpanded
{
get => _isExpanded;
set => SetProperty(ref _isExpanded, value);
}
}