migrate
This commit is contained in:
parent
f22cddbeee
commit
2d126a76d2
5 changed files with 183 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ import { KpiUserRole } from "./kpiUserRole";
|
|||
import { KpiUserPlanned } from "./kpiUserPlanned";
|
||||
import { KpiUserCapacity } from "./kpiUserCapacity";
|
||||
import { KpiUserEvaluationReason } from "./kpiUserEvaluationReason";
|
||||
import { KpiUserDevelopment } from "./kpiUserDevelopment";
|
||||
@Entity("kpiUserEvaluation")
|
||||
export class KpiUserEvaluation extends EntityBase {
|
||||
@Column({
|
||||
|
|
@ -69,7 +70,7 @@ export class KpiUserEvaluation extends EntityBase {
|
|||
nullable: true,
|
||||
length: 40,
|
||||
comment:
|
||||
"สถานะการประเมินผล ดังนี้ PENDING = รอดำเนินการ, INPROGRESS = กําลังดำเนินการ, DONE = ประเมินเสร็จสิ้น",
|
||||
"สถานะการประเมินผล ดังนี้ NEW = รอดำเนินการ, INPROGRESS = กําลังดำเนินการ, DONE = ประเมินเสร็จสิ้น",
|
||||
default: null,
|
||||
})
|
||||
evaluationStatus: string;
|
||||
|
|
@ -140,6 +141,9 @@ export class KpiUserEvaluation extends EntityBase {
|
|||
@OneToMany(() => KpiUserSpecial, (kpiUserSpecial) => kpiUserSpecial.kpiUserEvaluation)
|
||||
kpiUserSpecials: KpiUserSpecial[];
|
||||
|
||||
@OneToMany(() => KpiUserDevelopment, (kpiUserDevelopment) => kpiUserDevelopment.kpiUserEvaluation)
|
||||
kpiUserDevelopments: KpiUserDevelopment[];
|
||||
|
||||
@OneToMany(
|
||||
() => KpiUserEvaluationReason,
|
||||
(kpiUserEvaluationReason) => kpiUserEvaluationReason.kpiUserEvaluation,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue