PIbd-32_Artamonova_T.V._COP_2/UniversityDatabaseImplement/Models/Student.cs

17 lines
430 B
C#
Raw Normal View History

2023-10-28 09:06:35 +04:00
using System.ComponentModel.DataAnnotations;
namespace UniversityDatabaseImplement.Models
{
2023-11-09 04:07:06 +04:00
public class Student
2023-10-28 09:06:35 +04:00
{
2023-11-09 04:07:06 +04:00
public int Id { get; set; }
2023-10-28 09:06:35 +04:00
[Required]
2023-11-09 04:07:06 +04:00
public string FIO { get; set; }
2023-10-28 09:06:35 +04:00
[Required]
2023-11-09 04:07:06 +04:00
public string Email { get; set; }
2023-10-28 09:06:35 +04:00
[Required]
2023-11-09 04:07:06 +04:00
public string PhotoFilePath { get; set; }
2023-10-28 09:06:35 +04:00
[Required]
2023-11-09 04:07:06 +04:00
public string DirectionName { get; set; }
2023-10-28 09:06:35 +04:00
}
}