using SchoolAgainStudyDataModels.Models; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SchoolAgainStudyContracts.ViewModel { public class DiyViewModel : IDiy { [DisplayName("Название")] public string Title { get; set; } = string.Empty; [DisplayName("Описание")] public string Description { get; set; } = string.Empty; [DisplayName("Дата создания")] public DateTime DateCreate { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc); public int TaskId { get; set; } [DisplayName("Задание")] public string TaskName { get; set; } = string.Empty; public int StudentId { get; set; } public Dictionary DiyInterests { get; set; } = new(); [DisplayName("Номер")] public int Id { get; set; } } }