27 lines
783 B
C#
27 lines
783 B
C#
|
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("Дата сдачи")]
|
|||
|
public DateTime DateDelivery { get; set; }
|
|||
|
|
|||
|
public int TeacherId { get; set; }
|
|||
|
|
|||
|
public Dictionary<int, IMaterial> TaskMaterials { get; set; } = new();
|
|||
|
[DisplayName("Номер")]
|
|||
|
public int Id { get; set; }
|
|||
|
}
|
|||
|
}
|