CourseWork_SchoolStudyAgain/SchoolAgainStudy/SchoolAgainStudyContracts/BindingModel/DiyBindingModel.cs

29 lines
769 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 DiyBindingModel : IDiy
{
public string Title { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public DateTime DateCreate { get; set; }
public int TaskId { get; set; }
public string TaskName { get; set; } = string.Empty;
public int StudentId { get; set; }
public string StudentName { get; set; } = string.Empty;
public Dictionary<int, IInterest> DiyInterests { get; set; } = new();
public int Id { get; set; }
}
}