···11-import { User } from "@cv/auth";
21import { BaseEntity } from "@cv/system";
32import type { Skill } from "@/modules/job-experience/skill/skill.entity";
43import { Institution } from "./institution.entity";
···65export class Education extends BaseEntity {
76 constructor(
87 id: string,
99- public readonly userId: string,
1010- public readonly user: User | null,
88+ public readonly profileId: string,
119 public readonly institution: Institution,
1210 public readonly degree: string,
1311 public readonly fieldOfStudy: string | null,
···44import type { Skill } from "@/modules/job-experience/skill/skill.entity";
5566export interface CreateUserJobExperienceDto {
77- user: { id: string }; // Only need user ID for the relation
77+ profileId: string;
88 company: Company;
99 role: Role;
1010 level: Level;