เพิ่มdna

This commit is contained in:
DESKTOP-2S5P7D1\Windows 10 2025-03-17 10:08:23 +07:00
parent f36594266c
commit c57553e044
2 changed files with 56 additions and 16 deletions

View file

@ -79,6 +79,46 @@ export class Evaluation extends EntityBase {
})
child4Id: string;
@Column({
nullable: true,
comment: "Dna root",
length: 255,
default: null,
})
rootDnaId: string;
@Column({
nullable: true,
comment: "Dna child1",
length: 255,
default: null,
})
child1DnaId: string;
@Column({
nullable: true,
comment: "Dna child2",
length: 255,
default: null,
})
child2DnaId: string;
@Column({
nullable: true,
comment: "Dna child3",
length: 255,
default: null,
})
child3DnaId: string;
@Column({
nullable: true,
comment: "Dna child4",
length: 255,
default: null,
})
child4DnaId: string;
@Column({ nullable: true, comment: "เงินเดือนปัจจุบัน" })
salary: string;
@ -192,7 +232,7 @@ export class Evaluation extends EntityBase {
@Column({ nullable: true, comment: "ตำแหน่งที่ได้รับมอบหมาย" })
assignedPosition: string;
@Column({ nullable: true, comment: "ผลการประเมิน", default: "PENDING" })//PENDING,PASS,NOTPASS
@Column({ nullable: true, comment: "ผลการประเมิน", default: "PENDING" }) //PENDING,PASS,NOTPASS
evaluationResult: string;
@OneToMany(() => EvaluationLogs, (evaluationLogs) => evaluationLogs.evaluation)