add feild
This commit is contained in:
parent
1c7d62e149
commit
e5001f13eb
1 changed files with 24 additions and 0 deletions
|
|
@ -43,6 +43,22 @@ export class KpiUserEvaluation extends EntityBase {
|
||||||
})
|
})
|
||||||
profileId: string;
|
profileId: string;
|
||||||
|
|
||||||
|
@Column({ // PENDING = รอการประเมิน , INPROGRESS = กําลังประเมิน , DONE = ประเมินเสร็จสิ้น
|
||||||
|
nullable: true,
|
||||||
|
length: 40,
|
||||||
|
comment: "สถานะการประเมินผล",
|
||||||
|
default: null,
|
||||||
|
})
|
||||||
|
evaluationStatus: string;
|
||||||
|
|
||||||
|
@Column({ // PASSED = ผ่านการประเมิน , NOTPASSED = ไม่ผ่านการประเมิน
|
||||||
|
nullable: true,
|
||||||
|
length: 40,
|
||||||
|
comment: "ผลการประเมิน",
|
||||||
|
default: null,
|
||||||
|
})
|
||||||
|
evaluationResults: string;
|
||||||
|
|
||||||
@ManyToOne(() => KpiPeriod, (kpiPeriod) => kpiPeriod.kpiUserEvaluation)
|
@ManyToOne(() => KpiPeriod, (kpiPeriod) => kpiPeriod.kpiUserEvaluation)
|
||||||
@JoinColumn({ name: "kpiPeriodId" })
|
@JoinColumn({ name: "kpiPeriodId" })
|
||||||
kpiPeriod: KpiPeriod;
|
kpiPeriod: KpiPeriod;
|
||||||
|
|
@ -59,6 +75,10 @@ export class createKpiUserEvaluation {
|
||||||
kpiPeriodId: string;
|
kpiPeriodId: string;
|
||||||
@Column()
|
@Column()
|
||||||
profileId: string;
|
profileId: string;
|
||||||
|
@Column()
|
||||||
|
evaluationStatus: string;
|
||||||
|
@Column()
|
||||||
|
evaluationResults: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class updateKpiUserEvaluation {
|
export class updateKpiUserEvaluation {
|
||||||
|
|
@ -72,4 +92,8 @@ export class updateKpiUserEvaluation {
|
||||||
kpiPeriodId: string;
|
kpiPeriodId: string;
|
||||||
@Column()
|
@Column()
|
||||||
profileId: string;
|
profileId: string;
|
||||||
|
@Column()
|
||||||
|
evaluationStatus: string;
|
||||||
|
@Column()
|
||||||
|
evaluationResults: string;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue