using System.Collections.ObjectModel;

namespace ConeCalorimeter.ViewModels;

public sealed class ReportSectionViewModel
{
    public ReportSectionViewModel(string title, IEnumerable<ReportFieldViewModel> fields)
    {
        Title = title;
        Fields = new ObservableCollection<ReportFieldViewModel>(fields);
    }

    public string Title { get; }

    public ObservableCollection<ReportFieldViewModel> Fields { get; }
}
