no message

This commit is contained in:
Kittapath 2024-05-08 18:03:47 +07:00
parent 305fd51c99
commit b3adb67e44
13 changed files with 497 additions and 121 deletions

View file

@ -1,7 +1,8 @@
import { Entity, Column, ManyToOne, JoinColumn } from "typeorm";
import { Entity, Column, ManyToOne, JoinColumn, OneToMany } from "typeorm";
import { EntityBase } from "./base/Base";
import { KpiUserEvaluation } from "./kpiUserEvaluation";
import { KpiPlan } from "./kpiPlan";
import { KpiUserEvaluationReasonPlan } from "./kpiUserEvaluationReasonPlan";
@Entity("kpiUserPlanned")
export class KpiUserPlanned extends EntityBase {
@ -136,6 +137,12 @@ export class KpiUserPlanned extends EntityBase {
default: null,
})
achievement5: string;
@OneToMany(
() => KpiUserEvaluationReasonPlan,
(kpiUserEvaluationReasonPlan) => kpiUserEvaluationReasonPlan.kpiUserPlanned,
)
kpiUserEvaluationReasonPlans: KpiUserEvaluationReasonPlan[];
}
export class CreateKpiUserPlanned {