Files
sanstudent/Api/Database/Entities/Specialization.cs
aherman-san b8f03bf6d3
All checks were successful
SanStudent Multi-Project Deployment / deploy-api (push) Successful in 41s
SanStudent Multi-Project Deployment / deploy-frontadmin (push) Successful in 41s
SanStudent Multi-Project Deployment / deploy-frontstudent (push) Successful in 40s
Add project
2026-03-07 11:14:26 +01:00

20 lines
444 B
C#

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; }
}