CourseWork_SchoolStudyAgain/SchoolAgainStudy/SchoolAgainStudyContracts/ViewModel/DiyViewModel.cs

33 lines
1.0 KiB
C#
Raw Normal View History

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; }
public int TaskId { get; set; }
[DisplayName("Задание")]
public string TaskName { get; set; } = string.Empty;
[DisplayName("Школьник")]
public string StudentName { get; set; } = string.Empty;
public int StudentId { get; set; }
public Dictionary<int, IInterest> DiyInterests { get; set; } = new();
[DisplayName("Номер")]
public int Id { get; set; }
}
}