using SchoolAgainStudyDataModels.Models; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SchoolAgainStudyContracts.ViewModel { public class LessonViewModel : ILesson { [DisplayName("Название")] public string Title { get; set; } = string.Empty; [DisplayName("Дата проведения")] public DateTime DateEvent { get; set; } public int ProductId { get; set; } [DisplayName("Изделие")] public string ProductName { get; set; } = string.Empty; [DisplayName("Учитель")] public string TeacherName { get; set; } = string.Empty; public int TeacherId { get; set; } public Dictionary LessonMaterials { get; set; } = new(); [DisplayName("Номер")] public int Id { get; set; } } }