Remove Veteran, Allow Millitary to be NULL

This commit is contained in:
2025-08-13 06:28:14 -07:00
parent 7f7d5f587d
commit 369d71d446
6 changed files with 24 additions and 16 deletions
+1 -2
View File
@@ -13,7 +13,7 @@ namespace BoredCareers.Entities {
public string City { get; set; } = "";
public bool IsActive { get; set; } = false;
public ResumeExperience[] Experience { get; set; } = [];
public ResumeMilitary Millitary { get; set; } = new ResumeMilitary();
public ResumeMilitary? Millitary { get; set; } = null;
public ResumeEducation[] Educations { get; set; } = [];
public ResumeSkill[] Skills { get; set; } = [];
public ResumeLanguage[] Languages { get; set; } = [];
@@ -46,7 +46,6 @@ namespace BoredCareers.Entities {
public class ResumeMilitary {
public int? ID { get; set; } // PK
public int ResumeID { get; set; } // FK
public bool Veteran { get; set; } = false;
public string Country { get; set; } = ""; // 2 Letter Country Code
public string Rank { get; set; } = "";
public DateTime DateStarted { get; set; } = new DateTime();