ปรับ ui สรรหาสอบคัดเลือก
This commit is contained in:
parent
c79bc39c86
commit
fbef67f33a
29 changed files with 7384 additions and 666 deletions
|
|
@ -110,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; }
|
||||
|
||||
|
|
@ -253,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("เหตุผลการไม่อนุมัติ")]
|
||||
|
|
|
|||
|
|
@ -6,17 +6,20 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
|
|||
{
|
||||
public class Career : EntityBase
|
||||
{
|
||||
[Required, Column(Order = 7), Comment("Id ผู้สมัคร")]
|
||||
[Required, Column(Order = 8), Comment("Id ผู้สมัคร")]
|
||||
public virtual Candidate? Candidate { get; set; }
|
||||
|
||||
[Required, Column(Order = 3), Comment("สถานที่ทำงาน/ฝึกงาน")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
[Required, Column(Order = 4), Comment("ตำแหน่ง/ลักษณะงาน")]
|
||||
[Required, Column(Order = 3), Comment("ชื่อตำแหน่ง")]
|
||||
public string Position { get; set; } = string.Empty;
|
||||
|
||||
[Required, MaxLength(20), Column(Order = 5), Comment("เงินเดือนสุดท้ายก่อนออก")]
|
||||
public int Salary { get; set; }
|
||||
[Required, Column(Order = 4), Comment("กลุ่ม/ฝ่าย")]
|
||||
public string Group { get; set; } = string.Empty;
|
||||
|
||||
[Required, Column(Order = 5), Comment("กอง")]
|
||||
public string Pile { get; set; } = string.Empty;
|
||||
|
||||
[Required, Column(Order = 6), Comment("สังกัด")]
|
||||
public string Org { get; set; } = string.Empty;
|
||||
|
||||
[Required, Column(Order = 1), Comment("ระยะเวลาเริ่ม")]
|
||||
public DateTime DurationStart { get; set; } = DateTime.Now.Date;
|
||||
|
|
@ -24,7 +27,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
|
|||
[Required, Column(Order = 2), Comment("ระยะเวลาสิ้นสุด")]
|
||||
public DateTime DurationEnd { get; set; } = DateTime.Now.Date;
|
||||
|
||||
[Required, Column(Order = 6), Comment("เหตุผลที่ออก")]
|
||||
public string Reason { get; set; } = string.Empty;
|
||||
[Required, Column(Order = 7), Comment("ระยะเวลา")]
|
||||
public string RangeDate { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,26 +8,25 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
|
|||
{
|
||||
[Required, Column(Order = 7), Comment("Id ผู้สมัคร")]
|
||||
public virtual Candidate? Candidate { get; set; }
|
||||
|
||||
[Comment("Idวุฒิที่ได้รับ")]
|
||||
public Guid? EducationLevelId { get; set; }
|
||||
|
||||
[Comment("วุฒิที่ได้รับ")]
|
||||
public string? EducationLevelName { get; set; }
|
||||
|
||||
[Required, Column(Order = 4), Comment("สาขาวิชา/วิชาเอก")]
|
||||
public string Major { get; set; } = string.Empty;
|
||||
|
||||
[Required, MaxLength(10), Column(Order = 6), Comment("คะแนนเฉลี่ยตลอดหลักสูตร")]
|
||||
public float Scores { get; set; }
|
||||
|
||||
[Required, Column(Order = 3), Comment("ชื่อสถานศึกษา")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
[Required, Column(Order = 1), Comment("ระยะเวลาเริ่ม")]
|
||||
public DateTime DurationStart { get; set; } = DateTime.Now.Date;
|
||||
|
||||
[Required, Column(Order = 2), Comment("ระยะเวลาสิ้นสุด")]
|
||||
public DateTime DurationEnd { get; set; } = DateTime.Now.Date;
|
||||
[Comment("Id วุฒิที่ใช้สมัครสอบ")]
|
||||
public Guid? EducationLevelExamId { get; set; }
|
||||
[Comment("วุฒิที่ใช้สมัครสอบ")]
|
||||
public string? EducationLevelExamName { get; set; }
|
||||
[Comment("ชื่อปริญญา")]
|
||||
public string? EducationName { get; set; }
|
||||
[Comment("สาขาวิชา/วิชาเอก")]
|
||||
public string? EducationMajor { get; set; }
|
||||
[Comment("ชื่อสถานศึกษา")]
|
||||
public string? EducationLocation { get; set; }
|
||||
[Comment("ประเภทสถานศึกษา")]
|
||||
public string? EducationType { get; set; }
|
||||
[Comment("วันที่สำเร็จการศึกษา")]
|
||||
public DateTime? EducationEndDate { get; set; }
|
||||
[Comment("คะแนนเฉลี่ยสะสม")]
|
||||
public string? EducationScores { get; set; }
|
||||
[Comment("Id วุฒิการศึกษาสูงสุด")]
|
||||
public Guid? EducationLevelHighId { get; set; }
|
||||
[Comment("วุฒิการศึกษาสูงสุด")]
|
||||
public string? EducationLevelHighName { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -68,6 +68,12 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
|
|||
[Comment("รายละเอียดสมัครสอบ")]
|
||||
public string? Detail { get; set; }
|
||||
|
||||
[Comment("รายละเอียดเงื่อนไขการสมัคร")]
|
||||
public string? EditorCondition { get; set; }
|
||||
|
||||
[Comment("รายละเอียดคำรับรอง")]
|
||||
public string? EditorConfirm { get; set; }
|
||||
|
||||
[Comment("หมายเหตุ")]
|
||||
public string? Note { get; set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -173,23 +173,21 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
[MaxLength(100), Comment("สัญชาติมารดา")]
|
||||
public string? MotherNationality { get; set; }
|
||||
|
||||
[Comment("ประเภทอาชีพที่ทำงานมาก่อน")]
|
||||
public string? OccupationType { get; set; }
|
||||
|
||||
[Comment("สำนัก/บริษัท บริษัท")]
|
||||
public string? OccupationCompany { get; set; }
|
||||
|
||||
[Comment("กอง/ฝ่าย บริษัท")]
|
||||
public string? OccupationDepartment { get; set; }
|
||||
|
||||
[MaxLength(200), Comment("อีเมล บริษัท")]
|
||||
public string? OccupationEmail { get; set; }
|
||||
|
||||
[MaxLength(200), Comment("โทรศัพท์ บริษัท")]
|
||||
public string? OccupationTelephone { 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; }
|
||||
|
||||
[MaxLength(20), Comment("ตำแหน่งปัจจุบัน เบอร์โทรที่ทำงาน")]
|
||||
public string? OccupationTelephone { get; set; }
|
||||
|
||||
// [Comment("Id ตำแหน่งเลขที่")]
|
||||
// public PositionNumberEntity? PositionNumber { get; set; }
|
||||
|
|
|
|||
25
Models/Placement/PositionLevel.cs
Normal file
25
Models/Placement/PositionLevel.cs
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Recurit.Exam.Service.Models;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Placement
|
||||
{
|
||||
public class PositionLevel : EntityBaseNoIsActive
|
||||
{
|
||||
[Column(Order = 1), Comment("ลำดับ")]
|
||||
public int? Order { get; set; }
|
||||
|
||||
[Required, MaxLength(100), Column(Order = 2), Comment("ชื่อระดับตำแหน่ง")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
[Required, MaxLength(100), Column(Order = 3), Comment("ชื่อย่อระดับตำแหน่ง")]
|
||||
public string ShortName { get; set; } = string.Empty;
|
||||
|
||||
[Column(Order = 4), Comment("ลำดับชั้นของระดับตำแหน่ง")]
|
||||
public int Level { get; set; } = 0;
|
||||
|
||||
[Column(Order = 5), Comment("สถานะการใช้งาน")]
|
||||
public bool IsActive { get; set; } = true;
|
||||
}
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Recurit.Exam.Service.Models.Documents;
|
||||
using BMA.EHR.Domain.Models.Placement;
|
||||
|
||||
namespace BMA.EHR.Recurit.Exam.Service.Models
|
||||
{
|
||||
|
|
@ -16,13 +17,19 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
|
|||
[Comment("ชื่อตำแหน่ง")]
|
||||
public string? PositionName { get; set; }
|
||||
|
||||
[Comment("Id ระดับ")]
|
||||
public Guid? PositionLevelId { get; set; }
|
||||
|
||||
[Comment("ชื่อระดับ")]
|
||||
public string? PositionLevelName { get; set; }
|
||||
|
||||
[Comment("Id ประเภทแบบฟอร์ม")]
|
||||
public string? TypeId { get; set; }
|
||||
|
||||
[Comment("ชื่อประเภทแบบฟอร์ม")]
|
||||
public string? TypeName { get; set; }
|
||||
|
||||
[Comment("ปริญญาขึ้นไป")]
|
||||
[Comment("ปริญญาบัตรขึ้นไป")]
|
||||
public bool HighDegree { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue