แก้โครงสร้างพ้นราชการ
This commit is contained in:
parent
18d75f4b04
commit
db712d586a
41 changed files with 125142 additions and 411 deletions
|
|
@ -11,56 +11,12 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
{
|
||||
public class PlacementAppointment : EntityBase
|
||||
{
|
||||
// [Required, Comment("Id User")]
|
||||
// public Profile Profile { get; set; }
|
||||
// [Required, MaxLength(20), Comment("เลขประจำตัวประชาชน")]
|
||||
// public string? CitizenId { get; set; }
|
||||
// [Required, Comment("คำนำหน้า")]
|
||||
// public Prefix? Prefix { get; set; }
|
||||
// [Required, Comment("ชื่อ")]
|
||||
// public string? Firstname { get; set; }
|
||||
// [Required, Comment("นามสกุล")]
|
||||
// public string? Lastname { get; set; }
|
||||
// [MaxLength(40), Comment("วันเกิด")]
|
||||
// public DateTime DateOfBirth { get; set; }
|
||||
// [Comment("Id เพศ")]
|
||||
// public Gender? Gender { get; set; }
|
||||
// [MaxLength(100), Comment("สัญชาติ")]
|
||||
// public string? Nationality { get; set; }
|
||||
// [MaxLength(100), Comment("เชื้อชาติ")]
|
||||
// public string? Race { get; set; }
|
||||
// [Comment("Id ศาสนา")]
|
||||
// public Religion? Religion { get; set; }
|
||||
// [Comment("Id กลุ่มเลือด")]
|
||||
// public BloodGroup? BloodGroup { get; set; }
|
||||
// [Comment("Id สถานะภาพ")]
|
||||
// public Relationship? Relationship { get; set; }
|
||||
// [MaxLength(50), Comment("เบอร์โทร")]
|
||||
// public string? TelephoneNumber { get; set; }
|
||||
[Comment("สถานะคำขอ")]
|
||||
public string Status { get; set; } = "WAITTING";
|
||||
// [Comment("Id เลขที่ตำแหน่ง")]
|
||||
// public OrganizationPositionEntity? OrganizationPosition { get; set; }
|
||||
[Comment("วันที่บรรจุ")]
|
||||
public DateTime? RecruitDate { get; set; }
|
||||
|
||||
// [Comment("Id ตำแหน่งเลขที่")]
|
||||
// public PositionNumberEntity? PositionNumber { get; set; }
|
||||
|
||||
// [Comment("Id ตำแหน่ง")]
|
||||
// public PositionPath? PositionPath { get; set; }
|
||||
|
||||
// [Comment("Id ด้าน/สาขา")]
|
||||
// public PositionPathSide? PositionPathSide { get; set; }
|
||||
|
||||
// [Comment("Id ประเภทตำแหน่ง")]
|
||||
// public PositionType? PositionType { get; set; }
|
||||
|
||||
// [Comment("Id สายงาน")]
|
||||
// public PositionLine? PositionLine { get; set; }
|
||||
|
||||
// [Comment("Id ระดับ")]
|
||||
// public PositionLevel? PositionLevel { get; set; }
|
||||
[Comment("วันที่รายงานตัว")]
|
||||
public DateTime? ReportingDate { get; set; }
|
||||
[Comment("ประเภทราชการ")]
|
||||
public string? type { get; set; }
|
||||
[Comment("เงินเดือน")]
|
||||
|
|
@ -69,8 +25,12 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public string? Reason { get; set; }
|
||||
[Comment("วุฒิ/สาขาเดิม")]
|
||||
public string? EducationOld { get; set; }
|
||||
[Comment("สังกัดเดิม")]
|
||||
[Comment("สังกัด/ตำแหน่งเเดิม")]
|
||||
public string? OrganizationPositionOld { get; set; }
|
||||
[Comment("สังกัดเดิม")]
|
||||
public string? OrganizationOld { get; set; }
|
||||
[Comment("ตำแหน่งเดิม")]
|
||||
public string? PositionOld { get; set; }
|
||||
[Comment("ข้อมูลหน่วยงานเดิม ตำแหน่งประเภท")]
|
||||
public string? PositionTypeOld { get; set; }
|
||||
[Comment("ข้อมูลหน่วยงานเดิม ระดับ")]
|
||||
|
|
@ -81,12 +41,14 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public double? AmountOld { get; set; }
|
||||
[Comment("สถานะการใช้งาน")]
|
||||
public bool IsActive { get; set; } = true;
|
||||
[Comment("ประเภทคำสั่ง")]
|
||||
public CommandType? CommandType { get; set; }
|
||||
// [Comment("ประเภทคำสั่ง")]
|
||||
// public CommandType? CommandType { get; set; }
|
||||
[Comment("ดำรงตำแหน่งในระดับปัจจุบันเมื่อ")]
|
||||
public DateTime? PositionDate { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
[Comment("profile Id")]
|
||||
public string? profileId { get; set; }
|
||||
[Comment("คำนำหน้า")]
|
||||
|
|
@ -97,6 +59,8 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public string? lastName { get; set; }
|
||||
[Comment("เลขบัตรประชาชน")]
|
||||
public string? citizenId { get; set; }
|
||||
[MaxLength(40), Comment("วันเกิด")]
|
||||
public DateTime? DateOfBirth { get; set; }
|
||||
[Comment("ชื่อหน่วยงาน root")]
|
||||
public string? root { get; set; }
|
||||
[Comment("id หน่วยงาน root")]
|
||||
|
|
@ -129,7 +93,6 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public string? child4ShortName { get; set; }
|
||||
[Comment("ระดับโครงสร้าง")]
|
||||
public int? node { get; set; }
|
||||
|
||||
[Comment("id โครงสร้าง")]
|
||||
public Guid? nodeId { get; set; }
|
||||
[Comment("id อัตรากำลัง")]
|
||||
|
|
@ -143,7 +106,7 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
[Comment("เลขที่ตำแหน่ง")]
|
||||
public int? posMasterNo { get; set; }
|
||||
[Comment("ชื่อตำแหน่งในสายงาน")]
|
||||
public string? positionName { get; set; }
|
||||
public string? position { get; set; }
|
||||
[Comment("id ประเภทตำแหน่ง")]
|
||||
public string? posTypeId { get; set; }
|
||||
[Comment("ชื่อประเภทตำแหน่ง")]
|
||||
|
|
@ -187,8 +150,6 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public string? child4OldId { get; set; }
|
||||
[Comment("ชื่อย่อหน่วยงาน child4 old")]
|
||||
public string? child4ShortNameOld { get; set; }
|
||||
// [Comment("id revision old")]
|
||||
// public string? orgRevisionId { get; set; }
|
||||
[Comment("เลขที่ตำแหน่ง old")]
|
||||
public int? posMasterNoOld { get; set; }
|
||||
[Comment("ชื่อตำแหน่งในสายงาน old")]
|
||||
|
|
@ -201,6 +162,8 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public string? posLevelOldId { get; set; }
|
||||
[Comment("ชื่อระดับตำแหน่ง old")]
|
||||
public string? posLevelNameOld { get; set; }
|
||||
[Comment("ประเภทคำสั่ง")]
|
||||
public string? typeCommand { get; set; }
|
||||
|
||||
// public OrgEmployee? OrgEmployee { get; set; }
|
||||
// public PositionEmployeeStatus? PositionEmployeeStatus { get; set; }
|
||||
|
|
|
|||
|
|
@ -19,10 +19,12 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public string? PositionLevelOld { get; set; }
|
||||
[Comment("ข้อมูลหน่วยงานเดิม เลขที่")]
|
||||
public string? PositionNumberOld { get; set; }
|
||||
[Comment("สังกัดเดิม")]
|
||||
public string? OrganizationOld { get; set; }
|
||||
[Comment("ตำแหน่งเดิม")]
|
||||
public string? PositionOld { get; set; }
|
||||
[Comment("ข้อมูลหน่วยงานเดิม เงินเดือน")]
|
||||
public double? AmountOld { get; set; }
|
||||
|
||||
|
||||
[Comment("สังกัด")]
|
||||
public string? OrganizationPositionOld { get; set; }
|
||||
[Comment("หน่วยงานที่ช่วยราชการไป")]
|
||||
|
|
|
|||
|
|
@ -10,18 +10,8 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
{
|
||||
public class PlacementReceive : EntityBase
|
||||
{
|
||||
// [Required, Comment("Id User")]
|
||||
// public Profile Profile { get; set; }
|
||||
[Comment("Fk Table Document")]
|
||||
public Document? Avatar { get; set; }
|
||||
// [Required, MaxLength(20), Comment("เลขประจำตัวประชาชน")]
|
||||
// public string CitizenId { get; set; }
|
||||
// [Required, Comment("คำนำหน้า")]
|
||||
// public Prefix Prefix { get; set; }
|
||||
// [Required, Comment("ชื่อ")]
|
||||
// public string Firstname { get; set; }
|
||||
// [Required, Comment("นามสกุล")]
|
||||
// public string Lastname { get; set; }
|
||||
[MaxLength(40), Comment("วันเกิด")]
|
||||
public DateTime DateOfBirth { get; set; }
|
||||
[Comment("Id เพศ")]
|
||||
|
|
@ -40,36 +30,23 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public string? TelephoneNumber { get; set; }
|
||||
[Comment("สถานะคำขอ")]
|
||||
public string Status { get; set; } = "WAITTING";
|
||||
// [Comment("Id เลขที่ตำแหน่ง")]
|
||||
// public OrganizationPositionEntity? OrganizationPosition { get; set; }
|
||||
[Comment("เงินเดือน")]
|
||||
public double? Amount { get; set; }
|
||||
[Comment("วันที่บรรจุ")]
|
||||
public DateTime? RecruitDate { get; set; }
|
||||
|
||||
// [Comment("Id ตำแหน่งเลขที่")]
|
||||
// public PositionNumberEntity? PositionNumber { get; set; }
|
||||
|
||||
// [Comment("Id ตำแหน่ง")]
|
||||
// public PositionPath? PositionPath { get; set; }
|
||||
|
||||
// [Comment("Id ด้าน/สาขา")]
|
||||
// public PositionPathSide? PositionPathSide { get; set; }
|
||||
|
||||
// [Comment("Id ประเภทตำแหน่ง")]
|
||||
// public PositionType? PositionType { get; set; }
|
||||
|
||||
// [Comment("Id สายงาน")]
|
||||
// public PositionLine? PositionLine { get; set; }
|
||||
|
||||
// [Comment("Id ระดับ")]
|
||||
// public PositionLevel? PositionLevel { get; set; }
|
||||
[Comment("เหตุผลที่รับโอนราชการ")]
|
||||
public string? Reason { get; set; }
|
||||
|
||||
|
||||
|
||||
[Comment("วุฒิ/สาขาเดิม")]
|
||||
public string? EducationOld { get; set; }
|
||||
[Comment("สังกัดเดิม")]
|
||||
public string? OrganizationPositionOld { get; set; }
|
||||
[Comment("สังกัดเดิม")]
|
||||
public string? OrganizationOld { get; set; }
|
||||
[Comment("ตำแหน่งเดิม")]
|
||||
public string? PositionOld { get; set; }
|
||||
[Comment("ข้อมูลหน่วยงานเดิม ตำแหน่งประเภท")]
|
||||
public string? PositionTypeOld { get; set; }
|
||||
[Comment("ข้อมูลหน่วยงานเดิม ระดับ")]
|
||||
|
|
@ -80,6 +57,7 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public double? AmountOld { get; set; }
|
||||
|
||||
|
||||
|
||||
[Comment("profile Id")]
|
||||
public string? profileId { get; set; }
|
||||
[Comment("คำนำหน้า")]
|
||||
|
|
@ -122,7 +100,6 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public string? child4ShortName { get; set; }
|
||||
[Comment("ระดับโครงสร้าง")]
|
||||
public int? node { get; set; }
|
||||
|
||||
[Comment("id โครงสร้าง")]
|
||||
public Guid? nodeId { get; set; }
|
||||
[Comment("id อัตรากำลัง")]
|
||||
|
|
@ -136,7 +113,7 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
[Comment("เลขที่ตำแหน่ง")]
|
||||
public int? posMasterNo { get; set; }
|
||||
[Comment("ชื่อตำแหน่งในสายงาน")]
|
||||
public string? positionName { get; set; }
|
||||
public string? position { get; set; }
|
||||
[Comment("id ประเภทตำแหน่ง")]
|
||||
public string? posTypeId { get; set; }
|
||||
[Comment("ชื่อประเภทตำแหน่ง")]
|
||||
|
|
@ -147,6 +124,50 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public string? posLevelName { get; set; }
|
||||
|
||||
|
||||
|
||||
[Comment("ชื่อหน่วยงาน root old")]
|
||||
public string? rootOld { get; set; }
|
||||
[Comment("id หน่วยงาน root old")]
|
||||
public string? rootOldId { get; set; }
|
||||
[Comment("ชื่อย่อหน่วยงาน root old")]
|
||||
public string? rootShortNameOld { get; set; }
|
||||
[Comment("ชื่อหน่วยงาน child1 old")]
|
||||
public string? child1Old { get; set; }
|
||||
[Comment("id หน่วยงาน child1 old")]
|
||||
public string? child1OldId { get; set; }
|
||||
[Comment("ชื่อย่อหน่วยงาน child1 old")]
|
||||
public string? child1ShortNameOld { get; set; }
|
||||
[Comment("ชื่อหน่วยงาน child2 old")]
|
||||
public string? child2Old { get; set; }
|
||||
[Comment("id หน่วยงาน child2 old")]
|
||||
public string? child2OldId { get; set; }
|
||||
[Comment("ชื่อย่อหน่วยงาน child2 old")]
|
||||
public string? child2ShortNameOld { get; set; }
|
||||
[Comment("ชื่อหน่วยงาน child3 old")]
|
||||
public string? child3Old { get; set; }
|
||||
[Comment("id หน่วยงาน child3 old")]
|
||||
public string? child3OldId { get; set; }
|
||||
[Comment("ชื่อย่อหน่วยงาน child3 old")]
|
||||
public string? child3ShortNameOld { get; set; }
|
||||
[Comment("ชื่อหน่วยงาน child4 old")]
|
||||
public string? child4Old { get; set; }
|
||||
[Comment("id หน่วยงาน child4 old")]
|
||||
public string? child4OldId { get; set; }
|
||||
[Comment("ชื่อย่อหน่วยงาน child4 old")]
|
||||
public string? child4ShortNameOld { get; set; }
|
||||
[Comment("เลขที่ตำแหน่ง old")]
|
||||
public int? posMasterNoOld { get; set; }
|
||||
[Comment("ชื่อตำแหน่งในสายงาน old")]
|
||||
public string? positionOld { get; set; }
|
||||
[Comment("id ประเภทตำแหน่ง old")]
|
||||
public string? posTypeOldId { get; set; }
|
||||
[Comment("ชื่อประเภทตำแหน่ง old")]
|
||||
public string? posTypeNameOld { get; set; }
|
||||
[Comment("id ระดับตำแหน่ง old")]
|
||||
public string? posLevelOldId { get; set; }
|
||||
[Comment("ชื่อระดับตำแหน่ง old")]
|
||||
public string? posLevelNameOld { get; set; }
|
||||
|
||||
[Comment("สถานะการใช้งาน")]
|
||||
public bool IsActive { get; set; } = true;
|
||||
public virtual List<PlacementReceiveDoc> PlacementReceiveDocs { get; set; } = new List<PlacementReceiveDoc>();
|
||||
|
|
|
|||
|
|
@ -15,6 +15,10 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public string? Reason { get; set; } = string.Empty;
|
||||
[Comment("สังกัด")]
|
||||
public string? OrganizationPositionOld { get; set; }
|
||||
[Comment("สังกัดเดิม")]
|
||||
public string? OrganizationOld { get; set; }
|
||||
[Comment("ตำแหน่งเดิม")]
|
||||
public string? PositionOld { get; set; }
|
||||
[Comment("ตั้งแต่วันที่")]
|
||||
public DateTime? Date { get; set; }
|
||||
[Comment("ข้อมูลหน่วยงานเดิม ตำแหน่งประเภท")]
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ namespace BMA.EHR.Domain.Models.Retirement
|
|||
{
|
||||
public class RetirementDeceasedNoti : EntityBase
|
||||
{
|
||||
[Comment("รหัสอ้างอิงผู้ใช้งานระบบ")]
|
||||
public Profile ReceiveUser { get; set; }
|
||||
// [Comment("รหัสอ้างอิงผู้ใช้งานระบบ")]
|
||||
// public Profile ReceiveUser { get; set; }
|
||||
[Comment("Fk Table RetirementDeceased")]
|
||||
public RetirementDeceased RetirementDeceased { get; set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,10 @@ namespace BMA.EHR.Domain.Models.Retirement
|
|||
public string? EducationOld { get; set; }
|
||||
[Comment("สังกัดเดิม")]
|
||||
public string? OrganizationPositionOld { get; set; }
|
||||
[Comment("สังกัดเดิม")]
|
||||
public string? OrganizationOld { get; set; }
|
||||
[Comment("ตำแหน่งเดิม")]
|
||||
public string? PositionOld { get; set; }
|
||||
[Comment("ข้อมูลหน่วยงานเดิม ตำแหน่งประเภท")]
|
||||
public string? PositionTypeOld { get; set; }
|
||||
[Comment("ข้อมูลหน่วยงานเดิม ระดับ")]
|
||||
|
|
|
|||
|
|
@ -15,6 +15,10 @@ namespace BMA.EHR.Domain.Models.Retirement
|
|||
public string? Reason { get; set; } = string.Empty;
|
||||
[Comment("สังกัด")]
|
||||
public string? OrganizationPositionOld { get; set; }
|
||||
[Comment("สังกัดเดิม")]
|
||||
public string? OrganizationOld { get; set; }
|
||||
[Comment("ตำแหน่งเดิม")]
|
||||
public string? PositionOld { get; set; }
|
||||
[Comment("ตั้งแต่วันที่")]
|
||||
public DateTime? Date { get; set; }
|
||||
[Comment("ข้อมูลหน่วยงานเดิม ตำแหน่งประเภท")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue