add sort
This commit is contained in:
parent
bd00213596
commit
00f76bbd2b
14 changed files with 187 additions and 166 deletions
|
|
@ -16,6 +16,13 @@ export class StrategyChild1 extends EntityBase {
|
|||
})
|
||||
strategyChild1Name: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ลำดับความสำคัญ",
|
||||
default: null,
|
||||
})
|
||||
order: number;
|
||||
|
||||
@OneToMany(() => StrategyChild2, (strategyChild2) => strategyChild2.strategyChild1)
|
||||
strategyChild2s: StrategyChild2[];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue