update
This commit is contained in:
@ -2,7 +2,6 @@ import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateCol
|
|||||||
|
|
||||||
import { Status } from "../../types/status";
|
import { Status } from "../../types/status";
|
||||||
import { HrmsEmployee } from "./hrms_employee";
|
import { HrmsEmployee } from "./hrms_employee";
|
||||||
import { HrmsDepartment } from "./hrms_department";
|
|
||||||
import { HrmsTraining } from "./hrms_training";
|
import { HrmsTraining } from "./hrms_training";
|
||||||
|
|
||||||
@Entity("hrms_training_participants", { schema: "hrms" })
|
@Entity("hrms_training_participants", { schema: "hrms" })
|
||||||
@ -14,10 +13,6 @@ export class HrmsTrainingParticipant {
|
|||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
training: HrmsTraining;
|
training: HrmsTraining;
|
||||||
|
|
||||||
@ManyToOne(() => HrmsDepartment, { onDelete: "NO ACTION", nullable: false })
|
|
||||||
@JoinColumn()
|
|
||||||
department: HrmsDepartment;
|
|
||||||
|
|
||||||
@ManyToOne(() => HrmsEmployee, { onDelete: "NO ACTION", nullable: false })
|
@ManyToOne(() => HrmsEmployee, { onDelete: "NO ACTION", nullable: false })
|
||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
employee: HrmsEmployee;
|
employee: HrmsEmployee;
|
||||||
|
|||||||
Reference in New Issue
Block a user