This commit is contained in:
moss 2025-03-27 14:46:42 +07:00
parent bd00213596
commit 00f76bbd2b
14 changed files with 187 additions and 166 deletions

View file

@ -22,6 +22,13 @@ export class StrategyChild2 extends EntityBase {
})
strategyChild1Id: string;
@Column({
nullable: true,
comment: "ลำดับความสำคัญ",
default: null,
})
order: number;
@ManyToOne(() => StrategyChild1, (strategyChild1) => strategyChild1.strategyChild2s)
@JoinColumn({ name: "strategyChild1Id" })
strategyChild1: StrategyChild1;