แก้ model สอบคัดเลือก

This commit is contained in:
Kittapath 2023-10-08 13:58:03 +07:00
parent 5456eda96f
commit 4fb8439968
6 changed files with 131 additions and 63 deletions

View file

@ -5,7 +5,7 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace BMA.EHR.Recurit.Exam.Service.Models
{
public class Candidate : EntityBase
public class Candidate : EntityBase
{
[Required, Comment("Id การสอบ")]
public virtual PeriodExam? PeriodExam { get; set; }
@ -25,21 +25,54 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
[Comment("เลขที่นั่งสอบ")]
public string? SeatNumber { get; set; }
[Comment("คะแนนเต็มภาค ก")]
public string? PointTotalA { get; set; }
[Comment("คะแนนภาค ก ความสามารถในการคิดวิเคราะห์")]
public string? PointPath1A { get; set; }
[Comment("คะแนนภาค ก ภาษาอังกฤษ")]
public string? PointPath2A { get; set; }
[Comment("คะแนนภาค ก ความรู้และลักษณะการเป็นข้าราชการที่ดี")]
public string? PointPath3A { get; set; }
[Comment("คะแนนภาค ก")]
public string? PointA { get; set; }
[Comment("คะแนนภาค ก เปอร์เซนต์")]
public string? PointPerA { get; set; }
[Comment("ผลสอบภาค ก")]
public string? ResultA { get; set; }
[Comment("คะแนนเต็มภาค ข")]
public string? PointTotalB { get; set; }
[Comment("คะแนนภาค ข")]
public string? PointB { get; set; }
[Comment("คะแนนภาค ข เปอร์เซนต์")]
public string? PointPerB { get; set; }
[Comment("ผลสอบภาค ข")]
public string? ResultB { get; set; }
[Comment("คะแนนเต็มภาค ค")]
public string? PointTotalC { get; set; }
[Comment("คะแนนภาค คทดสอบสมรรถนะหลัก")]
public string? PointPath1C { get; set; }
[Comment("คะแนนภาค ค สัมภาษณ์")]
public string? PointPath2C { get; set; }
[Comment("คะแนนภาค ค")]
public string? PointC { get; set; }
[Comment("คะแนนภาค ค เปอร์เซนต์")]
public string? PointPerC { get; set; }
[Comment("ผลสอบภาค ค")]
public string? ResultC { get; set; }
@ -77,6 +110,12 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
[Comment("สถานภาพ")]
public string? RelationshipName { get; set; }
[Comment("Id ศาสนา")]
public Guid? ReligionId { get; set; }
[Comment("ศาสนา")]
public string? ReligionName { get; set; }
[MaxLength(200), Comment("อีเมล")]
public string? Email { get; set; }
@ -220,24 +259,20 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
[MaxLength(100), Comment("สัญชาติมารดา")]
public string? MotherNationality { get; set; }
[Comment("ประเภทอาชีพที่ทำงานมาก่อน")]
public string? OccupationType { get; set; }
[Comment("ตำแหน่งอาชีพ")]
[Comment("ตำแหน่งปัจจุบัน ชื่อตำแหน่ง")]
public string? OccupationOrg { get; set; }
[Comment("ตำแหน่งปัจจุบัน กอง")]
public string? OccupationPile { get; set; }
[Comment("ตำแหน่งปัจจุบัน กลุ่ม/ฝ่าย")]
public string? OccupationGroup { get; set; }
[Comment("ตำแหน่งปัจจุบัน เงินเดือน")]
public int? OccupationSalary { get; set; }
[Comment("ตำแหน่งปัจจุบัน สังกัด")]
public string? OccupationPosition { get; set; }
[Comment("ตำแหน่งปัจจุบัน ประเภทราชการ")]
public string? OccupationPositionType { get; set; }
[Comment("สำนัก/บริษัท บริษัท")]
public string? OccupationCompany { get; set; }
[Comment("กอง/ฝ่าย บริษัท")]
public string? OccupationDepartment { get; set; }
[MaxLength(200), Comment("อีเมล บริษัท")]
public string? OccupationEmail { get; set; }
[MaxLength(20), Comment("โทรศัพท์ บริษัท")]
[MaxLength(20), Comment("ตำแหน่งปัจจุบัน เบอร์โทรที่ทำงาน")]
public string? OccupationTelephone { get; set; }
[Comment("เหตุผลการไม่อนุมัติ")]
@ -246,11 +281,21 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
[Comment("ผลสมัครสอบ")]
public string? Pass { get; set; }
[Comment("หมายเหตุ")]
public string? ExamReason { get; set; }
[Comment("คะแนนความพึงพอใจ")]
public int? ReviewPoint { get; set; }
[Comment("ข้อแนะนำ")]
public string? Review { get; set; }
[MaxLength(40), Comment("วันที่สมัคร")]
public DateTime? RegisterDate { get; set; }
[Comment("วันที่ชำระเงิน")]
public DateTime? PaymentDate { get; set; }
public virtual List<Education> Educations { get; set; } = new List<Education>();
}
}