เพิ่มฟิว entity

This commit is contained in:
AdisakKanthawilang 2024-04-23 11:08:15 +07:00
parent 29660a43ae
commit 784ec51ac1
5 changed files with 106 additions and 6 deletions

View file

@ -63,6 +63,21 @@ export class KpiUserPlanned extends EntityBase {
@ManyToOne(() => KpiPlan, (kpiPlan) => kpiPlan.kpiUserPlanneds)
@JoinColumn({ name: "kpiPlanId" })
kpiPlan: KpiPlan;
@Column({
nullable: true,
comment: "ระดับคะแนน",
default: null,
})
point: number;
@Column({
type: "double",
nullable: true,
default: null,
comment: "ผลการประเมิน"
})
summary: number;
}
export class CreateKpiUserPlanned {