28 lines
904 B
C#
28 lines
904 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using SchoolAgainStudyDataModels.Models;
|
|
namespace SchoolAgainStudyContracts.ViewModel
|
|
{
|
|
public class StudentViewModel : IStudent
|
|
{
|
|
[DisplayName("ФИО")]
|
|
public string Name { get; set; } = string.Empty;
|
|
[DisplayName("Класс")]
|
|
public int Class { get; set; }
|
|
[DisplayName("Почта")]
|
|
public string Email { get; set; } = string.Empty;
|
|
[DisplayName("Логин")]
|
|
public string Login { get; set; } = string.Empty;
|
|
[DisplayName("Пароль")]
|
|
public string Password { get; set; } = string.Empty;
|
|
|
|
public Dictionary<int, IInterest> StudentInterests { get; set; } = new() ;
|
|
[DisplayName("Номер")]
|
|
public int Id { get; set; }
|
|
}
|
|
}
|