using EmployeeManagementApp.Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EmployeeManagementApp.ViewModels
{
    public class MainViewModel : BaseViewModel
    {
        public ObservableCollection<Employee> Employees { get; set; }

        public MainViewModel()
        {
            // Инициализация данных
            Employees = new ObservableCollection<Employee>
            {
                new Employee { Id = 1, FirstName = "Иван", LastName = "Иванов", Position = "Менеджер", Salary = 50000, VacationDays = 14 },
                new Employee { Id = 2, FirstName = "Мария", LastName = "Петрова", Position = "Разработчик", Salary = 70000, VacationDays = 20 }
            };
        }
    }
}