hrms-api-backend/BMA.EHR.Domain/Models/Organizations/PositionNumberEntity.cs

18 lines
560 B
C#

using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using BMA.EHR.Domain.Models.Base;
using BMA.EHR.Domain.Models.MetaData;
namespace BMA.EHR.Domain.Models.Organizations
{
public class PositionNumberEntity : EntityBase
{
[MaxLength(300), Column(Order = 2), Comment("ชื่อ")]
public string? Name { get; set; }
[Column(Order = 3), Comment("Shortname")]
public OrganizationShortName? OrganizationShortName { get; set; }
}
}