หา dna บรรจุ

This commit is contained in:
kittapath 2025-06-20 00:35:25 +07:00
parent b1ad88c37b
commit 1ef8544833
20 changed files with 1425 additions and 303 deletions

View file

@ -47,6 +47,36 @@ namespace BMA.EHR.Domain.Models.Discipline
[Comment("สถานภาพ (OFFICER->ข้าราชการ EMPLOYEE->ลูกจ้างประจำ)")]
public string? profileType { get; set; }
[Comment("ชื่อหน่วยงาน root")]
public string? root { get; set; }
[Comment("id หน่วยงาน root")]
public string? rootId { get; set; }
[Comment("id หน่วยงาน root")]
public string? rootDnaId { get; set; }
[Comment("ชื่อหน่วยงาน child1")]
public string? child1 { get; set; }
[Comment("id หน่วยงาน child1")]
public string? child1Id { get; set; }
[Comment("id หน่วยงาน child1")]
public string? child1DnaId { get; set; }
[Comment("ชื่อหน่วยงาน child2")]
public string? child2 { get; set; }
[Comment("id หน่วยงาน child2")]
public string? child2Id { get; set; }
[Comment("id หน่วยงาน child2")]
public string? child2DnaId { get; set; }
[Comment("ชื่อหน่วยงาน child3")]
public string? child3 { get; set; }
[Comment("id หน่วยงาน child3")]
public string? child3Id { get; set; }
[Comment("id หน่วยงาน child3")]
public string? child3DnaId { get; set; }
[Comment("ชื่อหน่วยงาน child4")]
public string? child4 { get; set; }
[Comment("id หน่วยงาน child4")]
public string? child4Id { get; set; }
[Comment("id หน่วยงาน child4")]
public string? child4DnaId { get; set; }
public virtual List<DisciplineComplaint_Appeal_Doc> DisciplineComplaint_Appeal_Docs { get; set; } = new List<DisciplineComplaint_Appeal_Doc>();
public virtual List<DisciplineComplaint_Appeal_History> DisciplineComplaint_Appeal_Historys { get; set; } = new List<DisciplineComplaint_Appeal_History>();

View file

@ -188,7 +188,6 @@ namespace BMA.EHR.Domain.Models.Placement
[Comment("ด้าน/สาขา (เก่า)")]
public string? positionAreaOld { get; set; }
// public OrgEmployee? OrgEmployee { get; set; }
// public PositionEmployeeStatus? PositionEmployeeStatus { get; set; }
// public PositionEmployeeLine? PositionEmployeeLine { get; set; }

View file

@ -0,0 +1,104 @@
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using BMA.EHR.Domain.Models.Base;
using System.ComponentModel.DataAnnotations.Schema;
using BMA.EHR.Domain.Models.Documents;
using BMA.EHR.Domain.Models.MetaData;
namespace BMA.EHR.Domain.Models.Retirement
{
public class RetirementEmployeeQuestion : EntityBase
{
[Comment("รอบการลาออก")]
public RetirementResignEmployee RetirementResignEmployee { get; set; }
[Comment("เหตุใดท่านจึงตัดสินใจร่วมงานกับกรุงเทพมหานคร")]
public string? ReasonWork { get; set; }
[Comment("อื่นๆ เหตุใดท่านจึงตัดสินใจร่วมงานกับกรุงเทพมหานคร")]
public string? ReasonWorkOther { get; set; }
[Comment("สำหรับการลาออกในครั้งนี้ ท่านได้คิดทบทวนอย่างจริงจังเป็นระยะเวลานานเท่าใด")]
public int? TimeThink { get; set; }
[Comment("ปัจจัยใดที่ทำให้ท่านตัดสินใจลาออกจากราชการ")]
public string? ExitFactor { get; set; }
[Comment("อื่นๆ ปัจจัยใดที่ทำให้ท่านตัดสินใจลาออกจากราชการ")]
public string? ExitFactorOther { get; set; }
[Comment("อะไรคือสิ่งที่ท่านเห็นว่าควรปรับปรุง")]
public string? Adjust { get; set; }
[Comment("อื่นๆ อะไรคือสิ่งที่ท่านเห็นว่าควรปรับปรุง")]
public string? AdjustOther { get; set; }
[Comment("โปรดระบุสาเหตุที่แท้จริง ที่ทำให้ท่านตัดสินใจลาออกจากการปฏิบัติราชการกับกรุงเทพมหานคร")]
public string? RealReason { get; set; }
[Comment("ปัจจัยใดที่จะช่วยทำให้ท่านเปลี่ยนใจ ไม่อยากลาออกจากการปฏิบัติราชการกับกรุงเทพมหานคร")]
public string? NotExitFactor { get; set; }
[Comment("ท่านมีงานใหม่หรือไม่และอะไรคือสิ่งที่ที่ทำงานใหม่ให้กับท่าน ซึ่งท่านรู้สึกว่าเป็นที่น่าพอใจมากกว่าการปฏิบัติราชการกับกรุงเทพมหานคร")]
public bool? Havejob { get; set; }
[Comment("เหตุผลท่านมีงานใหม่หรือไม่และอะไรคือสิ่งที่ที่ทำงานใหม่ให้กับท่าน ซึ่งท่านรู้สึกว่าเป็นที่น่าพอใจมากกว่าการปฏิบัติราชการกับกรุงเทพมหานคร")]
public string? HavejobReason { get; set; }
[Comment("ท่านจะแนะนำเพื่อนให้มาร่วมงานกับกรุงเทพมหานครหรือไม่")]
public bool? SuggestFriends { get; set; }
[Comment("เหตุผลท่านจะแนะนำเพื่อนให้มาร่วมงานกับกรุงเทพมหานครหรือไม่")]
public string? SuggestFriendsReason { get; set; }
[Comment("หากท่านมีโอกาสในอนาคต ท่านอยากกลับมาร่วมงานกับกรุงเทพมหานครหรือไม่")]
public bool? FutureWork { get; set; }
[Comment("เหตุผลหากท่านมีโอกาสในอนาคต ท่านอยากกลับมาร่วมงานกับกรุงเทพมหานครหรือไม่")]
public string? FutureWorkReason { get; set; }
[Comment("ความคิดเห็นและข้อเสนอแนะอื่น ๆ ")]
public string? Suggestion { get; set; }
[Comment("กําหนดวันนัดหมายเพื่อทําการสัมภาษณ์การลาออก")]
public DateTime? AppointDate { get; set; }
[Comment("คะแนนข้อ 1")]
public int? Score1 { get; set; }
[Comment("คะแนนข้อ 2")]
public int? Score2 { get; set; }
[Comment("คะแนนข้อ 3")]
public int? Score3 { get; set; }
[Comment("คะแนนข้อ 4")]
public int? Score4 { get; set; }
[Comment("คะแนนข้อ 5")]
public int? Score5 { get; set; }
[Comment("คะแนนข้อ 6")]
public int? Score6 { get; set; }
[Comment("คะแนนข้อ 7")]
public int? Score7 { get; set; }
[Comment("คะแนนข้อ 8")]
public int? Score8 { get; set; }
[Comment("คะแนนข้อ 9")]
public int? Score9 { get; set; }
[Comment("คะแนนข้อ 10")]
public int? Score10 { get; set; }
[Comment("คะแนนรวม")]
public int? ScoreTotal { get; set; }
[Comment("ความคิดเห็น")]
public string? Comment { get; set; }
[Comment("ชื่อหน่วยงาน root ")]
public string? root { get; set; }
[Comment("id หน่วยงาน root ")]
public string? rootId { get; set; }
[Comment("id หน่วยงาน root ")]
public string? rootDnaId { get; set; }
[Comment("ชื่อหน่วยงาน child1 ")]
public string? child1 { get; set; }
[Comment("id หน่วยงาน child1 ")]
public string? child1Id { get; set; }
[Comment("id หน่วยงาน child1 ")]
public string? child1DnaId { get; set; }
[Comment("ชื่อหน่วยงาน child2 ")]
public string? child2 { get; set; }
[Comment("id หน่วยงาน child2 ")]
public string? child2Id { get; set; }
[Comment("id หน่วยงาน child2 ")]
public string? child2DnaId { get; set; }
[Comment("ชื่อหน่วยงาน child3 ")]
public string? child3 { get; set; }
[Comment("id หน่วยงาน child3 ")]
public string? child3Id { get; set; }
[Comment("id หน่วยงาน child3 ")]
public string? child3DnaId { get; set; }
[Comment("ชื่อหน่วยงาน child4 ")]
public string? child4 { get; set; }
[Comment("id หน่วยงาน child4 ")]
public string? child4Id { get; set; }
[Comment("id หน่วยงาน child4 ")]
public string? child4DnaId { get; set; }
}
}

View file

@ -70,5 +70,35 @@ namespace BMA.EHR.Domain.Models.Retirement
public int? ScoreTotal { get; set; }
[Comment("ความคิดเห็น")]
public string? Comment { get; set; }
[Comment("ชื่อหน่วยงาน root ")]
public string? root { get; set; }
[Comment("id หน่วยงาน root ")]
public string? rootId { get; set; }
[Comment("id หน่วยงาน root ")]
public string? rootDnaId { get; set; }
[Comment("ชื่อหน่วยงาน child1 ")]
public string? child1 { get; set; }
[Comment("id หน่วยงาน child1 ")]
public string? child1Id { get; set; }
[Comment("id หน่วยงาน child1 ")]
public string? child1DnaId { get; set; }
[Comment("ชื่อหน่วยงาน child2 ")]
public string? child2 { get; set; }
[Comment("id หน่วยงาน child2 ")]
public string? child2Id { get; set; }
[Comment("id หน่วยงาน child2 ")]
public string? child2DnaId { get; set; }
[Comment("ชื่อหน่วยงาน child3 ")]
public string? child3 { get; set; }
[Comment("id หน่วยงาน child3 ")]
public string? child3Id { get; set; }
[Comment("id หน่วยงาน child3 ")]
public string? child3DnaId { get; set; }
[Comment("ชื่อหน่วยงาน child4 ")]
public string? child4 { get; set; }
[Comment("id หน่วยงาน child4 ")]
public string? child4Id { get; set; }
[Comment("id หน่วยงาน child4 ")]
public string? child4DnaId { get; set; }
}
}

View file

@ -146,6 +146,16 @@ namespace BMA.EHR.Domain.Models.Retirement
public string? positionExecutiveFieldOld { get; set; }
[Comment("ด้าน/สาขา (เก่า)")]
public string? positionAreaOld { get; set; }
[Comment("id หน่วยงาน root old")]
public string? rootDnaOldId { get; set; }
[Comment("id หน่วยงาน child1 old")]
public string? child1DnaOldId { get; set; }
[Comment("id หน่วยงาน child2 old")]
public string? child2DnaOldId { get; set; }
[Comment("id หน่วยงาน child3 old")]
public string? child3DnaOldId { get; set; }
[Comment("id หน่วยงาน child4 old")]
public string? child4DnaOldId { get; set; }
public List<RetirementResignCancelApprover> Approvers { get; set; } = new();
}
}

View file

@ -133,6 +133,16 @@ namespace BMA.EHR.Domain.Models.Retirement
public string? ApproveStep { get; set; } = string.Empty;
[Comment("คนยื่นมาอยู่ในกลุ่ม")]
public string? Group { get; set; } = string.Empty;
[Comment("id หน่วยงาน root old")]
public string? rootDnaOldId { get; set; }
[Comment("id หน่วยงาน child1 old")]
public string? child1DnaOldId { get; set; }
[Comment("id หน่วยงาน child2 old")]
public string? child2DnaOldId { get; set; }
[Comment("id หน่วยงาน child3 old")]
public string? child3DnaOldId { get; set; }
[Comment("id หน่วยงาน child4 old")]
public string? child4DnaOldId { get; set; }
[Required, Comment("อ้างอิงรับย้าย")]
public virtual RetirementResignEmployee RetirementResignEmployee { get; set; }
public List<RetirementResignEmployeeCancelApprover> Approvers { get; set; } = new();