This commit is contained in:
2026-01-02 00:12:33 +07:00
parent 14c05391df
commit 5fcaec8238

View File

@ -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;