ปรับ เครื่องราชย์ + ลา ลงเวลา ไปใช้ทะเบียนประวัติใหม่

This commit is contained in:
Suphonchai Phoonsawat 2024-06-25 00:54:16 +07:00
parent 1134267acf
commit ab129896ae
20 changed files with 21443 additions and 3616 deletions

View file

@ -35,7 +35,9 @@ namespace BMA.EHR.Domain.Models.HR
[Comment("เอกสารอ้างอิง (ลงวันที่)")]
public DateTime? RefCommandDate { get; set; }
public virtual List<ProfileInsigniaHistory> ProfileInsigniaHistorys { get; set; } = new List<ProfileInsigniaHistory>();
public virtual Profile? Profile { get; set; }
//public virtual Profile? Profile { get; set; }
public Guid ProfileId { get; set; } // link to profile
[Comment("หมายเหตุ")]
public string? Note { get; set; }

View file

@ -54,7 +54,11 @@ namespace BMA.EHR.Domain.Models.Insignias
public Document? DocReturnInsignia { get; set; }
[Comment("หน่วยงานคืนเครื่องราชฯ")]
public OrganizationEntity? OrgReturnInsignia { get; set; }
public Profile Profile { get; set; }
public Guid? ProfileId { get; set; }
//public Profile Profile { get; set; }
public Insignia RequestInsignia { get; set; }
public InsigniaNote InsigniaNote { get; set; }
}

View file

@ -18,8 +18,9 @@ namespace BMA.EHR.Domain.Models.Insignias
public InsigniaPeriod Period { get; set; }
public OrganizationEntity Organization { get; set; }
[Comment("Fk Id Document")]
//public OrganizationEntity Organization { get; set; }
public Guid OrganizationId { get; set; }
public Document? Document { get; set; }
public virtual List<InsigniaRequestProfile> RequestProfiles { get; set; } = new List<InsigniaRequestProfile>();

View file

@ -49,7 +49,9 @@ namespace BMA.EHR.Domain.Models.Insignias
[Comment("แจ้งเตือน ผลการประเมินการปฏิบัติราชการในรอบ 5 ปี ต่ำกว่าระดับดี (น้อยกว่าร้อยละ 70)")]
public bool? MarkRate { get; set; } = false;
public Profile Profile { get; set; }
//public Profile Profile { get; set; }
public Guid ProfileId { get; set; }
public Insignia RequestInsignia { get; set; }

View file

@ -10,7 +10,8 @@ namespace BMA.EHR.Domain.Models.Organizations
{
public OrganizationPositionEntity? OrganizationPosition { get; set; }
public Profile? Profile { get; set; }
public Profile? Profile { get; set; }
public bool IsActive { get; set; } = true;
public bool IsPublished { get; set; } = true;
}