21 lines
656 B
C#
21 lines
656 B
C#
|
|
using Microsoft.EntityFrameworkCore;
|
|||
|
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
|
using BMA.EHR.Report.Service.Models;
|
|||
|
|
|
|||
|
|
namespace BMA.EHR.Profile.Service.Models
|
|||
|
|
{
|
|||
|
|
public class PositionNumberEntity : EntityBase
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
[MaxLength(300), Column(Order = 2), Comment("ชื่อ")]
|
|||
|
|
public string? Name { get; set; }
|
|||
|
|
|
|||
|
|
//[ForeignKey("OrganizationShortNameId")]
|
|||
|
|
//public OrganizationShortName? OrganizationShortName_OrganizationShortNameId { get; set; }
|
|||
|
|
|
|||
|
|
[Column(Order = 3), Comment("Shortname")]
|
|||
|
|
public Guid? OrganizationShortNameId { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|