no message
This commit is contained in:
parent
305fd51c99
commit
b3adb67e44
13 changed files with 497 additions and 121 deletions
|
|
@ -1,6 +1,7 @@
|
|||
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 { KpiUserEvaluationReasonSpecial } from "./kpiUserEvaluationReasonSpecial";
|
||||
|
||||
@Entity("kpiUserSpecial")
|
||||
export class KpiUserSpecial extends EntityBase {
|
||||
|
|
@ -158,6 +159,12 @@ export class KpiUserSpecial extends EntityBase {
|
|||
@ManyToOne(() => KpiUserEvaluation, (kpiUserEvaluation) => kpiUserEvaluation.kpiUserSpecials)
|
||||
@JoinColumn({ name: "kpiUserEvaluationId" })
|
||||
kpiUserEvaluation: KpiUserEvaluation;
|
||||
|
||||
@OneToMany(
|
||||
() => KpiUserEvaluationReasonSpecial,
|
||||
(kpiUserEvaluationReasonSpecial) => kpiUserEvaluationReasonSpecial.kpiUserSpecial,
|
||||
)
|
||||
kpiUserEvaluationReasonSpecials: KpiUserEvaluationReasonSpecial[];
|
||||
}
|
||||
|
||||
export class CreateKpiUserSpecial {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue