api เครื่องราช

This commit is contained in:
Kittapath 2023-07-20 20:18:09 +07:00
parent 6a572144ab
commit cb33987976
11 changed files with 5290 additions and 5321 deletions

View file

@ -1,6 +1,7 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
using BMA.EHR.Domain.Models.Base;
using BMA.EHR.Domain.Models.MetaData;
namespace BMA.EHR.Domain.Models.HR
{
@ -27,8 +28,8 @@ namespace BMA.EHR.Domain.Models.HR
[Comment("ประเภท")]
public string? InsigniaType { get; set; }
[Comment("ชื่อเครื่องราชฯ")]
public string? Insignia { get; set; }
public Guid? InsigniaId { get; set; }
// public string? Insignia { get; set; }
public Insignia? Insignia { get; set; }
public virtual List<ProfileInsigniaHistory> ProfileInsigniaHistorys { get; set; } = new List<ProfileInsigniaHistory>();
public virtual Profile? Profile { get; set; }
}