CourseWork/University/UniversityContracts/ViewModels/AttestationViewModel.cs
2024-05-28 00:44:31 +04:00

25 lines
814 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UniversityDataModels.Enums;
using UniversityDataModels.Models;
namespace UniversityContracts.ViewModels
{
public class AttestationViewModel : IAttestationModel
{
public int Id { get; set; }
public int UserId { get; set; }
public int StudentId { get; set; }
[DisplayName("ФИО студента")]
public string StudentName { get; set; } = string.Empty;
[DisplayName("Форма оценивания")]
public string FormOfEvaluation { get; set; } = string.Empty;
[DisplayName("Оценка")]
public AttestationScore Score { get; set; } = AttestationScore.Неявка;
}
}