api list บรรจุ

api list คนในบรรจุ
This commit is contained in:
Kittapath 2023-06-29 21:04:49 +07:00
parent 385d37c985
commit 40e8a2641c
18 changed files with 31546 additions and 54 deletions

View file

@ -15,7 +15,7 @@ namespace BMA.EHR.Domain.Models.Placement
[Required, Comment("จำนวนผู้สอบได้"), MaxLength(10)]
public int Number { get; set; } = 0;
[Required, Comment("ประเภทการสอบ")]
public string TypeExam { get; set; } = string.Empty;
public required PlacementType PlacementType { get; set; }
[Required, Comment("วันที่เริ่มบัญชีบัญชี")]
public DateTime StartDate { get; set; }
[Required, Comment("วันที่สิ้นสุดบัญชี")]
@ -23,5 +23,6 @@ namespace BMA.EHR.Domain.Models.Placement
[Comment("สถานะการใช้งาน")]
public bool IsActive { get; set; } = true;
public virtual List<PlacementProfile> PlacementProfiles { get; set; } = new List<PlacementProfile>();
}
}

View file

@ -18,12 +18,16 @@ namespace BMA.EHR.Domain.Models.Placement
public string? Firstname { get; set; }
[Comment("นามสกุล")]
public string? Lastname { get; set; }
[Comment("Id เพศ")]
public Gender? Gender { get; set; }
[Comment("ลำดับที่สอบได้")]
public int? Number { get; set; }
[Comment("Id เลขที่ตำแหน่ง")]
public OrganizationPositionEntity? OrganizationPosition { get; set; }
[Comment("วันที่บรรจุ")]
public DateTime? RecruitDate { get; set; }
[Comment("วันที่รายงานตัว")]
public DateTime? ReportingDate { get; set; }
[Comment("เงินเดือน")]
public double? Amount { get; set; }
[Comment("เงินประจำตำแหน่ง")]
@ -37,9 +41,11 @@ namespace BMA.EHR.Domain.Models.Placement
[Comment("ข้าราชการฯ กทม.")]
public bool? IsOfficer { get; set; }
[Comment("สถานะการบรรจุ")]
public PlacementStatus? PlacementStatus { get; set; }
public string PlacementStatus { get; set; } = "un-contain";
[Comment("เหตุผลสละสิทธิ์")]
public string? RejectReason { get; set; }
[Comment("ผ่อนผัน")]
public bool IsRelief { get; set; } = false;
[Comment("เหตุผลผ่อนผัน")]
public string? ReliefReason { get; set; }
[Comment("Id เอกสารผ่อนผัน")]
@ -224,5 +230,7 @@ namespace BMA.EHR.Domain.Models.Placement
[Comment("ผลสมัครสอบ")]
public string? Pass { get; set; }
public virtual List<PlacementCareer> PlacementCareers { get; set; } = new List<PlacementCareer>();
public virtual List<PlacementEducation> PlacementEducations { get; set; } = new List<PlacementEducation>();
}
}

View file

@ -4,9 +4,9 @@ using BMA.EHR.Domain.Models.Base;
namespace BMA.EHR.Domain.Models.Placement
{
public class PlacementStatus : EntityBase
public class PlacementType : EntityBase
{
[Required, Comment("ชื่อสถานะบรรจุ")]
[Required, Comment("ชื่อประเภทบรรจุ")]
public string Name { get; set; } = string.Empty;
[Comment("สถานะการใช้งาน")]