From c0a9142d101df055f1b261edc3f3df37ebc07b79 Mon Sep 17 00:00:00 2001 From: "derek.holloway" Date: Mon, 14 Jul 2025 08:59:25 -0700 Subject: [PATCH] Add resumeID FK --- src/Server/Entities/Resume.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Server/Entities/Resume.cs b/src/Server/Entities/Resume.cs index 7f61a65..d2b9eba 100644 --- a/src/Server/Entities/Resume.cs +++ b/src/Server/Entities/Resume.cs @@ -13,7 +13,7 @@ namespace BoredCareers.Entities { public string City { get; set; } = ""; public bool IsActive { get; set; } = false; 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 ResumeSkill[] Skills { get; set; } = []; public ResumeLanguage[] Languages { get; set; } = []; @@ -38,6 +38,7 @@ namespace BoredCareers.Entities { public class ResumeExperienceBullet { public int ID { get; set; } // PK + public int ResumeID { get; set; } // FK public int ResumeExperienceID { get; set; } // FK public string JobFunction { get; set; } = ""; } @@ -55,6 +56,7 @@ namespace BoredCareers.Entities { public class ResumeMilitaryBullet { public int ID { get; set; } // PK + public int ResumeID { get; set; } // FK public int ResumeMilitaryID { get; set; } // FK public string Achevement { get; set; } = ""; public string Description { get; set; } = "";