no message
This commit is contained in:
parent
305fd51c99
commit
b3adb67e44
13 changed files with 497 additions and 121 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue