add field and api update result

This commit is contained in:
AdisakKanthawilang 2024-12-20 10:24:50 +07:00
parent 9acca2f4c3
commit a25a133406
3 changed files with 215 additions and 159 deletions

View file

@ -186,6 +186,9 @@ export class Evaluation extends EntityBase {
@Column({ nullable: true, comment: "ตำแหน่งที่ได้รับมอบหมาย" })
assignedPosition: string;
@Column({ nullable: true, comment: "ผลการประเมิน", default: "PENDING" })//PENDING,PASS,NOTPASS
evaluationResult: string;
@OneToMany(() => EvaluationLogs, (evaluationLogs) => evaluationLogs.evaluation)
evaluationLogs: EvaluationLogs[];