cms add year

This commit is contained in:
Kittapath 2023-10-12 03:02:48 +07:00
parent 0d7ea6d32b
commit d56dd0a25f
2 changed files with 4 additions and 0 deletions

View file

@ -24,6 +24,8 @@ namespace BMA.EHR.Recurit.Exam.Service.Response
public string? EditorCondition { get; set; }
public string? EditorConfirm { get; set; }
public string? Image { get; set; }
public int? Year { get; set; }
public int? Round { get; set; }
public List<HomePageLinkResponseItem>? Images { get; set; }
public List<HomePageLinkResponseItem>? Files { get; set; }
public List<HomePageLinkResponseItem>? Positions { get; set; }

View file

@ -464,6 +464,8 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
Payment_startDate = x.PaymentStartDate == null ? null : x.PaymentStartDate.Value.ToString("yyyy-MM-dd"),
Payment_endDate = x.PaymentEndDate == null || x.PaymentEndDate == x.PaymentStartDate ? null : x.PaymentEndDate.Value.ToString("yyyy-MM-dd"),
Title = x.Name,
Year = x.Year,
Round = x.Round,
Detail = x.Detail,
EditorCondition = x.EditorCondition,
EditorConfirm = x.EditorConfirm,