add ข้อมูลเพิ่มจาก api leave-profile #1476
Some checks failed
release-dev / release-dev (push) Failing after 12s

This commit is contained in:
Suphonchai Phoonsawat 2025-05-02 20:49:59 +07:00
parent 505df8e8b1
commit 2240c383c7
2 changed files with 125 additions and 25 deletions

View file

@ -4,43 +4,43 @@
{
public DateTime BirthDate { get; set; }
public DateTime RetireDate { get; set; }
public string GovAge { get; set; }
public string Age { get; set; }
public string GovAge { get; set; } = string.Empty;
public string Age { get; set; } = string.Empty;
public DateTime DateAppoint { get; set; }
public int Amount { get; set; }
public string? TelephoneNumber { get; set; }
public string PositionName { get; set; }
public string PosLevel { get; set; }
public string PosType { get; set; }
public string CurrentAddress { get; set; }
public string Oc { get; set; }
public string Root { get; set; }
public string Child1 { get; set; }
public string? TelephoneNumber { get; set; } = string.Empty;
public string PositionName { get; set; } = string.Empty;
public string PosLevel { get; set; } = string.Empty;
public string PosType { get; set; } = string.Empty;
public string CurrentAddress { get; set; } = string.Empty;
public string Oc { get; set; } = string.Empty;
public string Root { get; set; } = string.Empty;
public string? Child1 { get; set; }
public string? Child2 { get; set; }
public string? Child3 { get; set; }
public string? Child4 { get; set; }
public List<ProfileLeavePosition> Positions { get; set; }
public List<ProfileLeaveEducation> Educations { get; set; }
public List<ProfileLeavePosition> Positions { get; set; } = new();
public List<ProfileLeaveEducation> Educations { get; set; } = new();
}
public class ProfileLeavePosition
{
public string? PositionName { get; set; }
public string? PositionName { get; set; } = string.Empty;
public DateTime Date { get; set; }
public string? PositionType { get; set; }
public string? PositionLevel { get; set; }
public string? OrgRoot { get; set; }
public string? OrgChild1 { get; set; }
public string? OrgChild2 { get; set; }
public string? OrgChild3 { get; set; }
public string? OrgChild4 { get; set; }
public string? PositionType { get; set; } = string.Empty;
public string? PositionLevel { get; set; } = string.Empty;
public string? OrgRoot { get; set; } = string.Empty;
public string? OrgChild1 { get; set; } = string.Empty;
public string? OrgChild2 { get; set; } = string.Empty;
public string? OrgChild3 { get; set; } = string.Empty;
public string? OrgChild4 { get; set; } = string.Empty;
}
public class ProfileLeaveEducation
{
public string EducationLevel { get; set; }
public string Institute { get; set; }
public string? Country { get; set; }
public string EducationLevel { get; set; } = string.Empty;
public string Institute { get; set; } = string.Empty;
public string? Country { get; set; } = string.Empty;
public DateTime? FinishDate { get; set; }
}
}