แก้สมัครสอบ
This commit is contained in:
parent
0412128380
commit
2d65213eee
56 changed files with 4297 additions and 1392 deletions
|
|
@ -8,9 +8,9 @@ namespace BMA.EHR.MetaData.Service.Models
|
|||
public class BloodGroup : EntityBase
|
||||
{
|
||||
[Required, MaxLength(2), 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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,13 +9,13 @@ namespace BMA.EHR.MetaData.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; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@ namespace BMA.EHR.MetaData.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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@ namespace BMA.EHR.MetaData.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;
|
||||
|
||||
[Column(Order = 2), Comment("สถานะการใช้งาน")]
|
||||
public bool IsActive { get; set; } = true;
|
||||
// [Column(Order = 2), Comment("สถานะการใช้งาน")]
|
||||
// public bool IsActive { get; set; } = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@ namespace BMA.EHR.MetaData.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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,11 +8,11 @@ namespace BMA.EHR.MetaData.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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@ using System.ComponentModel.DataAnnotations;
|
|||
|
||||
namespace BMA.EHR.MetaData.Service.Models;
|
||||
|
||||
public class Relationship: EntityBase
|
||||
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;
|
||||
}
|
||||
|
|
@ -9,9 +9,9 @@ namespace BMA.EHR.MetaData.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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@ namespace BMA.EHR.MetaData.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; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,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("วุฒิการศึกษา")]
|
||||
|
|
|
|||
|
|
@ -20,13 +20,8 @@ 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("วันที่รายงานตัว")]
|
||||
|
|
@ -51,12 +46,9 @@ 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; }
|
||||
|
||||
|
||||
[MaxLength(40), Comment("สัญชาติ")]
|
||||
public string? Nationality { get; set; }
|
||||
[MaxLength(40), Comment("เชื้อชาติ")]
|
||||
|
|
@ -67,8 +59,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; }
|
||||
|
||||
|
|
@ -79,10 +69,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; }
|
||||
|
|
@ -100,13 +90,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; }
|
||||
|
|
@ -118,13 +108,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; }
|
||||
|
|
@ -193,24 +183,14 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
[MaxLength(20), Comment("ตำแหน่งปัจจุบัน เบอร์โทรที่ทำงาน")]
|
||||
public string? OccupationTelephone { get; set; }
|
||||
|
||||
// [Comment("Id ตำแหน่งเลขที่")]
|
||||
// public PositionNumberEntity? PositionNumber { get; set; }
|
||||
[Comment("ตำแหน่งสอบ")]
|
||||
public string? PositionCandidate { 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? PositionType { get; set; }
|
||||
|
||||
[Comment("ระดับ")]
|
||||
public string? PositionLevel { get; set; }
|
||||
|
||||
[Comment("คะแนนเต็มภาค ก")]
|
||||
public double? PointTotalA { get; set; }
|
||||
|
|
|
|||
|
|
@ -3,79 +3,81 @@ using System.ComponentModel.DataAnnotations;
|
|||
|
||||
namespace BMA.EHR.Recruit.Service.Models.Recruits
|
||||
{
|
||||
public class Recruit : EntityBase
|
||||
{
|
||||
public class Recruit : EntityBase
|
||||
{
|
||||
|
||||
[Required, MaxLength(13), Comment("เลขประจำตัวประชาชน")]
|
||||
public string CitizenId { get; set; } = string.Empty;
|
||||
[Required, MaxLength(13), Comment("เลขประจำตัวประชาชน")]
|
||||
public string CitizenId { get; set; } = string.Empty;
|
||||
|
||||
[Required, MaxLength(50)]
|
||||
public string ExamId { get; set; } = string.Empty;
|
||||
[Required, MaxLength(50)]
|
||||
public string ExamId { get; set; } = string.Empty;
|
||||
|
||||
[Required, MaxLength(50)]
|
||||
public string Prefix { get; set; } = string.Empty;
|
||||
[Required, MaxLength(50)]
|
||||
public string Prefix { get; set; } = string.Empty;
|
||||
|
||||
[Required, MaxLength(150)]
|
||||
public string FirstName { get; set; } = string.Empty;
|
||||
[Required, MaxLength(150)]
|
||||
public string FirstName { get; set; } = string.Empty;
|
||||
|
||||
[Required, MaxLength(150)]
|
||||
public string LastName { get; set; } = string.Empty;
|
||||
[Required, MaxLength(150)]
|
||||
public string LastName { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(20)]
|
||||
public string Gendor { get; set; } = string.Empty;
|
||||
[MaxLength(20)]
|
||||
public string Gendor { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(200)]
|
||||
public string National { get; set; } = string.Empty;
|
||||
[MaxLength(200)]
|
||||
public string National { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(200)]
|
||||
public string Race { get; set; } = string.Empty;
|
||||
[MaxLength(200)]
|
||||
public string Race { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(200)]
|
||||
public string Religion { get; set; } = string.Empty;
|
||||
[MaxLength(200)]
|
||||
public string Religion { get; set; } = string.Empty;
|
||||
|
||||
[Required]
|
||||
public DateTime DateOfBirth { get; set; }
|
||||
[Required]
|
||||
public DateTime DateOfBirth { get; set; }
|
||||
|
||||
[MaxLength(20)]
|
||||
public string Marry { get; set; } = string.Empty;
|
||||
[MaxLength(20)]
|
||||
public string Marry { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(1)]
|
||||
public string Isspecial { get; set; } = "N";
|
||||
[MaxLength(1)]
|
||||
public string Isspecial { get; set; } = "N";
|
||||
|
||||
[MaxLength(20)]
|
||||
public string RefNo { get; set; } = string.Empty;
|
||||
[MaxLength(20)]
|
||||
public string RefNo { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(200)]
|
||||
public string CitizenCardIssuer { get; set; } = string.Empty;
|
||||
[MaxLength(200)]
|
||||
public string CitizenCardIssuer { get; set; } = string.Empty;
|
||||
|
||||
public DateTime CitizenCardExpireDate { get; set; }
|
||||
public DateTime CitizenCardExpireDate { get; set; }
|
||||
|
||||
[MaxLength(200)]
|
||||
public string Remark { get; set; } = string.Empty;
|
||||
[MaxLength(200)]
|
||||
public string Remark { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(1)]
|
||||
public string Qualified { get; set; } = "Y";
|
||||
[MaxLength(1)]
|
||||
public string Qualified { get; set; } = "Y";
|
||||
|
||||
public RecruitImport? RecruitImport { get; set; }
|
||||
public RecruitImport? RecruitImport { get; set; }
|
||||
|
||||
public virtual List<RecruitAddress> Addresses { get; set; } = new List<RecruitAddress>();
|
||||
public virtual List<RecruitAddress> Addresses { get; set; } = new List<RecruitAddress>();
|
||||
|
||||
public virtual List<RecruitOccupation> Occupations { get; set; } = new List<RecruitOccupation>();
|
||||
public virtual List<RecruitOccupation> Occupations { get; set; } = new List<RecruitOccupation>();
|
||||
|
||||
public virtual List<RecruitCertificate> Certificates { get; set; } = new List<RecruitCertificate>();
|
||||
public virtual List<RecruitCertificate> Certificates { get; set; } = new List<RecruitCertificate>();
|
||||
|
||||
public virtual List<RecruitEducation> Educations { get; set; } = new List<RecruitEducation>();
|
||||
public virtual List<RecruitEducation> Educations { get; set; } = new List<RecruitEducation>();
|
||||
|
||||
public virtual List<RecruitPayment> Payments { get; set; } = new List<RecruitPayment>();
|
||||
public virtual List<RecruitPayment> Payments { get; set; } = new List<RecruitPayment>();
|
||||
|
||||
public virtual List<RecruitDocument> Documents { get; set; } = new List<RecruitDocument>();
|
||||
public virtual List<RecruitDocument> Documents { get; set; } = new List<RecruitDocument>();
|
||||
|
||||
public DateTime CreatedDate { get; set; } = DateTime.Now;
|
||||
public DateTime CreatedDate { get; set; } = DateTime.Now;
|
||||
|
||||
public DateTime ModifiedDate { get; set; }
|
||||
public DateTime ModifiedDate { get; set; }
|
||||
|
||||
public DateTime ApplyDate { get; set; }
|
||||
public DateTime ApplyDate { get; set; }
|
||||
|
||||
public string? PositionName { get; set; }
|
||||
}
|
||||
public string? PositionName { get; set; }
|
||||
public string? PositionType { get; set; }
|
||||
public string? PositionLevel { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue