forked from DavidMakarov/StudentEnrollment
29 lines
850 B
C#
29 lines
850 B
C#
using StudentEnrollmentDataModels.Models;
|
|
using System.ComponentModel;
|
|
|
|
namespace StudentEnrollmentContracts.ViewModels
|
|
{
|
|
public class StudentViewModel : IStudentModel
|
|
{
|
|
public int Id { get; set; }
|
|
[DisplayName("Имя")]
|
|
public string FirstName { get; set; } = string.Empty;
|
|
[DisplayName("Фамилия")]
|
|
public string LastName { get; set; } = string.Empty;
|
|
[DisplayName("Отчество")]
|
|
public string MiddleName { get; set; } = string.Empty;
|
|
[DisplayName("Почта")]
|
|
public string Email { get; set; } = string.Empty;
|
|
[DisplayName("ИНН")]
|
|
public long TIN { get; set; }
|
|
public int ExamPointsId { get; set; }
|
|
[DisplayName("Суммарное количество баллов")]
|
|
public int ExamPoints { get; set; }
|
|
public Dictionary<int, ICourseModel> StudentCourse
|
|
{
|
|
get;
|
|
set;
|
|
} = new();
|
|
}
|
|
}
|