CourseWork_SchoolStudyAgain/SchoolAgainStudy/SchoolAgainStudyContracts/ViewModel/LessonViewModel.cs

29 lines
847 B
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 LessonViewModel : ILesson
{
[DisplayName("Название")]
public string Title { get; set; } = string.Empty;
[DisplayName("Дата проведения")]
public DateTime DateEvent { get; set; }
public int ProductId { get; set; }
[DisplayName("Изделие")]
public string ProductName { get; set; } = string.Empty;
public int TeacherId { get; set; }
public Dictionary<int, IMaterial> LessonMaterials { get; set; } = new();
[DisplayName("Номер")]
public int Id { get; set; }
}
}