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

13 lines
284 B
C#
Raw Normal View History

2023-10-28 09:06:35 +04:00
using System.ComponentModel.DataAnnotations;
using UniversityDataModels.Models;
namespace UniversityDatabaseImplement.Models
{
2023-11-09 04:07:06 +04:00
public class Direction
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 Name { get; set; } = string.Empty;
2023-10-28 09:06:35 +04:00
}
}