CourseWork_SchoolStudyAgain/SchoolAgainStudy/SchoolAgainStudyContracts/ViewModel/TeacherViewModel.cs

29 lines
933 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 TeacherViewModel : ITeacher
{
[DisplayName("ФИО")]
public string Name { get; set; } = string.Empty;
[DisplayName("Должность")]
public string Post { get; set; } = string.Empty;
[DisplayName("Телефон")]
public string Phone { get; set; } = string.Empty;
[DisplayName("Логин")]
public string Login { get; set; } = string.Empty;
[DisplayName("Пароль")]
public string Password { get; set; } = string.Empty;
public Dictionary<int, IMaterial> TeacherMaterials { get; set; } = new();
[DisplayName("Номер")]
public int Id { get; set; }
}
}