forked from DavidMakarov/StudentEnrollment
29 lines
879 B
C#
29 lines
879 B
C#
using StudentEnrollmentDataModels.Models;
|
|
using System.ComponentModel;
|
|
|
|
namespace StudentEnrollmentContracts.ViewModels
|
|
{
|
|
public class StudentViewModel : IStudentModel
|
|
{
|
|
public long 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 string TIN { get; set; } = string.Empty;
|
|
public long ExamPointsId { get; set; }
|
|
[DisplayName("Суммарное количество баллов")]
|
|
public int ExamPoints { get; set; }
|
|
public Dictionary<long, (ICourseModel, long)> StudentCourse
|
|
{
|
|
get;
|
|
set;
|
|
} = new();
|
|
}
|
|
}
|