update
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user