Add resumeID FK

This commit is contained in:
derek.holloway
2025-07-14 08:59:25 -07:00
parent 6f0b26d971
commit c0a9142d10
+3 -1
View File
@@ -13,7 +13,7 @@ namespace BoredCareers.Entities {
public string City { get; set; } = ""; public string City { get; set; } = "";
public bool IsActive { get; set; } = false; public bool IsActive { get; set; } = false;
public ResumeExperience[] Experience { get; set; } = []; public ResumeExperience[] Experience { get; set; } = [];
public ResumeMillitary Millitary { get; set; } = new ResumeMillitary(); public ResumeMilitary Millitary { get; set; } = new ResumeMilitary();
public ResumeEducation[] Educations { get; set; } = []; public ResumeEducation[] Educations { get; set; } = [];
public ResumeSkill[] Skills { get; set; } = []; public ResumeSkill[] Skills { get; set; } = [];
public ResumeLanguage[] Languages { get; set; } = []; public ResumeLanguage[] Languages { get; set; } = [];
@@ -38,6 +38,7 @@ namespace BoredCareers.Entities {
public class ResumeExperienceBullet { public class ResumeExperienceBullet {
public int ID { get; set; } // PK public int ID { get; set; } // PK
public int ResumeID { get; set; } // FK
public int ResumeExperienceID { get; set; } // FK public int ResumeExperienceID { get; set; } // FK
public string JobFunction { get; set; } = ""; public string JobFunction { get; set; } = "";
} }
@@ -55,6 +56,7 @@ namespace BoredCareers.Entities {
public class ResumeMilitaryBullet { public class ResumeMilitaryBullet {
public int ID { get; set; } // PK public int ID { get; set; } // PK
public int ResumeID { get; set; } // FK
public int ResumeMilitaryID { get; set; } // FK public int ResumeMilitaryID { get; set; } // FK
public string Achevement { get; set; } = ""; public string Achevement { get; set; } = "";
public string Description { get; set; } = ""; public string Description { get; set; } = "";