Add project
This commit is contained in:
19
Api/Database/Entities/Specialization.cs
Normal file
19
Api/Database/Entities/Specialization.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace Api.Database.Entities;
|
||||
|
||||
[Table("Specializations")]
|
||||
public class Specialization : BaseEntity
|
||||
{
|
||||
[Column("Name")]
|
||||
[NotNull]
|
||||
[MaxLength(200)]
|
||||
public string? Name { get; set; }
|
||||
|
||||
[Column("ShortName")]
|
||||
[NotNull]
|
||||
[MaxLength(10)]
|
||||
public string? ShortName { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user