แก้สมัครสอบ

This commit is contained in:
kittapath 2025-01-05 21:59:15 +07:00
parent afc0cd830c
commit 07903d3b67
30 changed files with 3471 additions and 771 deletions

View file

@ -78,5 +78,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Models.Disables
public DateTime ApplyDate { get; set; }
public string? PositionName { get; set; }//
public string? PositionType { get; set; }
public string? PositionLevel { get; set; }
}
}

View file

@ -7,13 +7,13 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
public class District : EntityBase
{
[Required, MaxLength(150), Column(Order = 1), Comment("เขต/อำเภอ")]
public string Name { get; set; } = string.Empty;
public string name { get; set; } = string.Empty;
[Column(Order = 2), Comment("สถานะการใช้งาน")]
public bool IsActive { get; set; } = true;
// [Column(Order = 2), Comment("สถานะการใช้งาน")]
// public bool IsActive { get; set; } = true;
public virtual List<SubDistrict> SubDistricts { get; set; } = new();
// public virtual List<SubDistrict> SubDistricts { get; set; } = new();
public virtual Province? Province { get; set; }
// public virtual Province? Province { get; set; }
}
}

View file

@ -7,9 +7,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
public class EducationLevel : EntityBase
{
[Required, MaxLength(100), Column(Order = 1), Comment("ระดับการศึกษา")]
public string Name { get; set; } = string.Empty;
public string name { get; set; } = string.Empty;
[Column(Order = 2), Comment("สถานะการใช้งาน")]
public bool IsActive { get; set; } = true;
// [Column(Order = 2), Comment("สถานะการใช้งาน")]
// public bool IsActive { get; set; } = true;
}
}

View file

@ -29,7 +29,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
[Column(Order = 105), Comment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด"), MaxLength(200)]
public string LastUpdateFullName { get; set; } = string.Empty;
[Column(Order = 106), Comment("สถานะการใช้งาน")]
public bool IsActive { get; set; } = true;
// [Column(Order = 106), Comment("สถานะการใช้งาน")]
// public bool IsActive { get; set; } = true;
}
}

View file

@ -7,6 +7,6 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
public class Gender : EntityBase
{
[Required, MaxLength(20), Column(Order = 1), Comment("เพศ")]
public string Name { get; set; } = string.Empty;
public string name { get; set; } = string.Empty;
}
}

View file

@ -23,6 +23,9 @@ namespace BMA.EHR.Domain.Models.Placement
[Comment("สถานะการใช้งาน")]
public bool IsActive { get; set; } = true;
[Comment("Id การสอบ")]
public Guid? RefId { get; set; }
public virtual List<PlacementProfile> PlacementProfiles { get; set; } = new List<PlacementProfile>();
}
}

View file

@ -9,7 +9,9 @@ namespace BMA.EHR.Domain.Models.Placement
[Required, Comment("Id ผู้สมัคร")]
public virtual PlacementProfile? PlacementProfile { get; set; }
[Comment("Idวุฒิที่ได้รับ")]
public virtual EducationLevel? EducationLevel { get; set; }
public Guid? EducationLevelId { get; set; }
[Comment("วุฒิที่ได้รับ")]
public string? EducationLevelName { get; set; }
[MaxLength(1000), Comment("สถานศึกษา")]
public string? Institute { get; set; }
[MaxLength(200), Comment("วุฒิการศึกษา")]

View file

@ -19,13 +19,9 @@ namespace BMA.EHR.Domain.Models.Placement
[Comment("Id เพศ")]
public string? Gender { get; set; }
[Comment("Id ตำแหน่งที่สอบได้")]
public PositionPath? PositionCandidate { get; set; }
[Comment("ตำแหน่งที่สอบได้")]
public string? positionName { get; set; }
// [Comment("Id เลขที่ตำแหน่ง")]
// public OrganizationPositionEntity? OrganizationPosition { get; set; }
[Comment("วันที่บรรจุ")]
public DateTime? RecruitDate { get; set; }
[Comment("วันที่รายงานตัว")]
@ -50,8 +46,6 @@ namespace BMA.EHR.Domain.Models.Placement
public bool IsRelief { get; set; } = false;
[Comment("เหตุผลผ่อนผัน")]
public string? ReliefReason { get; set; }
// [Comment("Id เอกสารผ่อนผัน")]
// public Document? ReliefDoc { get; set; }
[Comment("การคัดกรองคุณสมบัติ")]
public string? IsProperty { get; set; }
@ -66,8 +60,6 @@ namespace BMA.EHR.Domain.Models.Placement
[Comment("Id สถานภาพ")]
public string? Relationship { get; set; }
// [Comment("Id กลุ่มเลือด")]
// public BloodGroup? BloodGroup { get; set; }
[Comment("Id ศาสนา")]
public string? Religion { get; set; }
@ -78,10 +70,10 @@ namespace BMA.EHR.Domain.Models.Placement
public string? CitizenId { get; set; }
[Comment("Id เขตที่ออกบัตรประชาชน")]
public string? CitizenDistrictId { get; set; }
public Guid? CitizenDistrictId { get; set; }
[Comment("Id จังหวัดที่ออกบัตรประชาชน")]
public string? CitizenProvinceId { get; set; }
public Guid? CitizenProvinceId { get; set; }
[Comment("วันที่ออกบัตร")]
public DateTime? CitizenDate { get; set; }
@ -99,13 +91,13 @@ namespace BMA.EHR.Domain.Models.Placement
public string? RegistAddress { get; set; }
[Comment("Id จังหวัดที่อยู่ตามทะเบียนบ้าน")]
public string? RegistProvinceId { get; set; }
public Guid? RegistProvinceId { get; set; }
[Comment("Id อำเภอที่อยู่ตามทะเบียนบ้าน")]
public string? RegistDistrictId { get; set; }
public Guid? RegistDistrictId { get; set; }
[Comment("Id ตำบลที่อยู่ตามทะเบียนบ้าน")]
public string? RegistSubDistrictId { get; set; }
public Guid? RegistSubDistrictId { get; set; }
[MaxLength(10), Comment("รหัสไปรษณีย์ที่อยู่ตามทะเบียนบ้าน")]
public string? RegistZipCode { get; set; }
@ -117,13 +109,13 @@ namespace BMA.EHR.Domain.Models.Placement
public string? CurrentAddress { get; set; }
[Comment("Id จังหวัดที่อยู่ปัจจุบัน")]
public string? CurrentProvinceId { get; set; }
public Guid? CurrentProvinceId { get; set; }
[Comment("Id อำเภอที่อยู่ปัจจุบัน")]
public string? CurrentDistrictId { get; set; }
public Guid? CurrentDistrictId { get; set; }
[Comment("Id ตำบลที่อยู่ปัจจุบัน")]
public string? CurrentSubDistrictId { get; set; }
public Guid? CurrentSubDistrictId { get; set; }
[MaxLength(10), Comment("รหัสไปรษณีย์ที่อยู่ปัจจุบัน")]
public string? CurrentZipCode { get; set; }
@ -192,25 +184,15 @@ namespace BMA.EHR.Domain.Models.Placement
[MaxLength(20), Comment("ตำแหน่งปัจจุบัน เบอร์โทรที่ทำงาน")]
public string? OccupationTelephone { get; set; }
// [Comment("Id ตำแหน่งเลขที่")]
// public PositionNumberEntity? PositionNumber { get; set; }
// [Comment("Id ตำแหน่ง")]
// public PositionPath? PositionPath { get; set; }
// [Comment("Id ด้าน/สาขา")]
// public PositionPathSide? PositionPathSide { get; set; }
[Comment("ตำแหน่งสอบ")]
public string? PositionCandidate { get; set; }
[Comment("ประเภทตำแหน่ง")]
public string? PositionType { get; set; }
// [Comment("Id สายงาน")]
// public PositionLine? PositionLine { get; set; }
[Comment("ระดับ")]
public string? PositionLevel { get; set; }
[Comment("คะแนนเต็มภาค ก")]
public double? PointTotalA { get; set; }

View file

@ -7,9 +7,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
public class Prefix : EntityBase
{
[Required, MaxLength(50), Column(Order = 2), Comment("รายละเอียดคำนำหน้า")]
public string Name { get; set; } = string.Empty;
public string name { get; set; } = string.Empty;
[Column(Order = 3), Comment("สถานะการใช้งาน")]
public bool IsActive { get; set; } = true;
// [Column(Order = 3), Comment("สถานะการใช้งาน")]
// public bool IsActive { get; set; } = true;
}
}

View file

@ -7,11 +7,11 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
public class Province : EntityBase
{
[Required, MaxLength(150), Column(Order = 1), Comment("จังหวัด")]
public string Name { get; set; } = string.Empty;
public string name { get; set; } = string.Empty;
[Column(Order = 2), Comment("สถานะการใช้งาน")]
public bool IsActive { get; set; } = true;
// [Column(Order = 2), Comment("สถานะการใช้งาน")]
// public bool IsActive { get; set; } = true;
public virtual List<District> Districts { get; set; } = new();
// public virtual List<District> Districts { get; set; } = new();
}
}

View file

@ -7,8 +7,8 @@ namespace BMA.EHR.Recurit.Exam.Service.Models;
public class Relationship : EntityBase
{
[Required, MaxLength(50), Column(Order = 1), Comment("ชื่อความสัมพันธ์")]
public string Name { get; set; } = string.Empty;
public string name { get; set; } = string.Empty;
[Column(Order = 2), Comment("สถานะการใช้งาน")]
public bool IsActive { get; set; } = true;
// [Column(Order = 2), Comment("สถานะการใช้งาน")]
// public bool IsActive { get; set; } = true;
}

View file

@ -7,9 +7,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
public class Religion : EntityBase
{
[Required, MaxLength(100), Column(Order = 1), Comment("ศาสนา")]
public string Name { get; set; } = string.Empty;
public string name { get; set; } = string.Empty;
[Column(Order = 2), Comment("สถานะการใช้งาน")]
public bool IsActive { get; set; } = true;
// [Column(Order = 2), Comment("สถานะการใช้งาน")]
// public bool IsActive { get; set; } = true;
}
}

View file

@ -7,14 +7,14 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
public class SubDistrict : EntityBase
{
[Required, MaxLength(150), Column(Order = 1), Comment("เขต/อำเภอ")]
public string Name { get; set; } = string.Empty;
public string name { get; set; } = string.Empty;
[Required, MaxLength(10), Column(Order = 2), Comment("รหัสไปรษณีย์")]
public string ZipCode { get; set; } = string.Empty;
public string zipCode { get; set; } = string.Empty;
[Column(Order = 3), Comment("สถานะการใช้งาน")]
public bool IsActive { get; set; } = true;
// [Column(Order = 3), Comment("สถานะการใช้งาน")]
// public bool IsActive { get; set; } = true;
public virtual District? District { get; set; }
// public virtual District? District { get; set; }
}
}