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,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 {