migrate + ปรับสอบแข่งขัน (#6)

Co-authored-by: harid <harid_pr61@live.rmutl.com>
This commit is contained in:
Harid Promsri 2025-10-16 17:35:59 +07:00 committed by GitHub
parent 9332086ee9
commit 6e9fb4b368
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 1839 additions and 110 deletions

View file

@ -33,8 +33,8 @@ namespace BMA.EHR.Recruit.Service.Models.Recruits
[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;
@ -48,7 +48,7 @@ namespace BMA.EHR.Recruit.Service.Models.Recruits
[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;
@ -72,9 +72,9 @@ namespace BMA.EHR.Recruit.Service.Models.Recruits
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? PositionType { get; set; }

View file

@ -26,7 +26,7 @@ namespace BMA.EHR.Recruit.Service.Models.Recruits
[MaxLength(200)]
public string HighDegree { get; set; }
public DateTime BachelorDate { get; set; }
public DateTime? BachelorDate { get; set; }
public Recruit Recruit { get; set; }
}