2023-04-03 20:01:18 +04:00
|
|
|
|
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 TaskViewModel : ITask
|
|
|
|
|
{
|
|
|
|
|
[DisplayName("Название")]
|
|
|
|
|
public string Title { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Дата выдачи")]
|
|
|
|
|
public DateTime DateIssue { get; set; }
|
|
|
|
|
[DisplayName("Дата сдачи")]
|
2023-04-05 22:00:51 +04:00
|
|
|
|
public DateTime DateDelivery { get; set; }
|
|
|
|
|
[DisplayName("Учитель")]
|
|
|
|
|
public string TeacherName { get; set; } = string.Empty;
|
2023-04-03 20:01:18 +04:00
|
|
|
|
|
|
|
|
|
public int TeacherId { get; set; }
|
|
|
|
|
|
|
|
|
|
public Dictionary<int, IMaterial> TaskMaterials { get; set; } = new();
|
|
|
|
|
[DisplayName("Номер")]
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|