CourseWork_SchoolStudyAgain/SchoolAgainStudy/SchoolAgainStudyContracts/BindingModel/DiyBindingModel.cs

28 lines
761 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; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
public int TaskId { get; set; }
public string TaskName { get; set; } = string.Empty;
public int StudentId { get; set; }
public Dictionary<int, IInterest> DiyInterests { get; set; } = new();
public int Id { get; set; }
}
}