fix name relation

This commit is contained in:
AdisakKanthawilang 2024-05-13 16:33:34 +07:00
parent 996549864e
commit 3ba4ba6d3f
2 changed files with 19 additions and 1 deletions

View file

@ -68,6 +68,6 @@ export class KpiUserEvaluationReasonPlan extends EntityBase {
kpiUserPlannedId: string;
@ManyToOne(() => KpiUserPlanned, (kpiUserPlanned) => kpiUserPlanned.kpiUserEvaluationReasonPlans)
@JoinColumn({ name: "kpiUserPlanId" })
@JoinColumn({ name: "kpiUserPlannedId" })
kpiUserPlanned: KpiUserPlanned;
}