no message
This commit is contained in:
parent
305fd51c99
commit
b3adb67e44
13 changed files with 497 additions and 121 deletions
|
|
@ -1,8 +1,9 @@
|
|||
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 { KpiRole } from "./kpiRole";
|
||||
import { Double } from "typeorm/browser";
|
||||
import { KpiUserEvaluationReasonRole } from "./kpiUserEvaluationReasonRole";
|
||||
|
||||
@Entity("kpiUserRole")
|
||||
export class KpiUserRole extends EntityBase {
|
||||
|
|
@ -137,6 +138,12 @@ export class KpiUserRole extends EntityBase {
|
|||
default: null,
|
||||
})
|
||||
achievement5: string;
|
||||
|
||||
@OneToMany(
|
||||
() => KpiUserEvaluationReasonRole,
|
||||
(kpiUserEvaluationReasonRole) => kpiUserEvaluationReasonRole.kpiUserRole,
|
||||
)
|
||||
kpiUserEvaluationReasonRoles: KpiUserEvaluationReasonRole[];
|
||||
}
|
||||
|
||||
export class CreateKpiUserRole {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue