Merge branch 'develop' of github.com:Frappet/bma-ehr-kpi into develop

This commit is contained in:
Kittapath 2024-04-22 15:52:07 +07:00
commit b671316601
3 changed files with 61 additions and 14 deletions

View file

@ -51,6 +51,22 @@ export class KpiUserEvaluation extends EntityBase {
})
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)
@JoinColumn({ name: "kpiPeriodId" })
kpiPeriod: KpiPeriod;
@ -91,6 +107,10 @@ export class createKpiUserEvaluation {
kpiPeriodId: string;
@Column()
profileId: string;
@Column()
evaluationStatus: string;
@Column()
evaluationResults: string;
}
export class updateKpiUserEvaluation {
@ -104,4 +124,8 @@ export class updateKpiUserEvaluation {
kpiPeriodId: string;
@Column()
profileId: string;
@Column()
evaluationStatus: string;
@Column()
evaluationResults: string;
}