CourseWork_SchoolStudyAgain/SchoolAgainStudy/SchoolAgainStudyContracts/BindingModel/TaskBindingModel.cs

26 lines
652 B
C#
Raw Permalink 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 TaskBindingModel : ITask
{
public string Title { get; set; } = string.Empty;
public DateTime DateIssue { get; set; }
public DateTime DateDelivery { get; set; }
public int TeacherId { get; set; }
public string TeacherName { get; set; } = string.Empty;
public Dictionary<int, IMaterial> TaskMaterials { get; set; } = new();
public int Id { get; set; }
}
}