diff --git a/src/entity/hrms/hrms_training_participant.ts b/src/entity/hrms/hrms_training_participant.ts index a3973c2..769c3fd 100644 --- a/src/entity/hrms/hrms_training_participant.ts +++ b/src/entity/hrms/hrms_training_participant.ts @@ -2,7 +2,6 @@ import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateCol import { Status } from "../../types/status"; import { HrmsEmployee } from "./hrms_employee"; -import { HrmsDepartment } from "./hrms_department"; import { HrmsTraining } from "./hrms_training"; @Entity("hrms_training_participants", { schema: "hrms" }) @@ -14,10 +13,6 @@ export class HrmsTrainingParticipant { @JoinColumn() training: HrmsTraining; - @ManyToOne(() => HrmsDepartment, { onDelete: "NO ACTION", nullable: false }) - @JoinColumn() - department: HrmsDepartment; - @ManyToOne(() => HrmsEmployee, { onDelete: "NO ACTION", nullable: false }) @JoinColumn() employee: HrmsEmployee;