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

19 lines
560 B
C#
Raw Permalink Normal View History

using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using BMA.EHR.Domain.Models.Base;
using BMA.EHR.Domain.Models.MetaData;
2023-06-26 15:18:39 +07:00
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; }
}
}