CourseWork_SchoolStudyAgain/SchoolAgainStudy/SchoolAgainStudyContracts/BindingModel/LessonBindingModel.cs

26 lines
652 B
C#
Raw Normal View History

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 Dictionary<int, IMaterial> LessonMaterials { get; set; } = new();
public int Id { get; set; }
}
}