We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb63a10 commit ad408a6Copy full SHA for ad408a6
back/src/domains/user/entity/user.entity.ts
@@ -16,6 +16,9 @@ export class User {
16
@Column({ type: 'varchar', length: 10, name: 'role' })
17
role: string;
18
19
+ @Column({ type: 'boolean', name: 'is_guest' })
20
+ checkGuest: boolean;
21
+
22
@OneToMany(() => Reservation, (reservation) => reservation.user, { lazy: true })
23
reservations: Promise<Reservation[]>;
24
}
0 commit comments