CourseWork_SchoolStudyAgain/SchoolAgainStudy/SchoolAgainStudyContracts/BindingModel/LessonBindingModel.cs

27 lines
715 B
C#

using SchoolAgainStudyDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SchoolAgainStudyContracts.BindingModel
{
public class LessonBindingModel : ILesson
{
public string Title { get; set; } = string.Empty;
public DateTime DateEvent { get; set; }
public int ProductId { get; set; }
public string ProductName { get; set; } = string.Empty;
public int TeacherId { get; set; }
public string TeacherName { get; set; } = string.Empty;
public Dictionary<int, IMaterial> LessonMaterials { get; set; } = new();
public int Id { get; set; }
}
}