2023-06-26 14:02:04 +07:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
using BMA.EHR.Domain.Models.Base;
|
2023-07-05 16:22:44 +07:00
|
|
|
|
using BMA.EHR.Domain.Models.MetaData;
|
2023-06-26 14:02:04 +07:00
|
|
|
|
|
2023-06-26 15:18:39 +07:00
|
|
|
|
namespace BMA.EHR.Domain.Models.Organizations
|
2023-06-26 14:02:04 +07:00
|
|
|
|
{
|
|
|
|
|
|
public class PositionNumberEntity : EntityBase
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
[MaxLength(300), Column(Order = 2), Comment("ชื่อ")]
|
|
|
|
|
|
public string? Name { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[Column(Order = 3), Comment("Shortname")]
|
2023-07-05 16:22:44 +07:00
|
|
|
|
public OrganizationShortName? OrganizationShortName { get; set; }
|
2023-06-26 14:02:04 +07:00
|
|
|
|
}
|
|
|
|
|
|
}
|