From 5a7e68fccc5d97b214ad1b534369560fb3ee834a Mon Sep 17 00:00:00 2001 From: Abdul Rahman Reza Date: Sat, 30 Nov 2024 23:35:51 +0700 Subject: [PATCH] update entity menu --- src/entity/menu.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/entity/menu.ts b/src/entity/menu.ts index 2cf80d7..bc33c4c 100644 --- a/src/entity/menu.ts +++ b/src/entity/menu.ts @@ -49,6 +49,8 @@ export class Menu { }) status: Status; + children: Menu[] + @Column() @CreateDateColumn() created_at: Date;