tipsEnabled

This commit is contained in:
2026-06-29 19:31:26 +03:30
parent 2ba959b3ae
commit 3844594506
14 changed files with 479 additions and 2 deletions
+4
View File
@@ -62,6 +62,10 @@ export class BusinessEntity {
@Column({ default: false })
autoApproveBookings!: boolean;
/** When true, customers can leave an optional gratuity after rating a completed booking. */
@Column({ default: false })
tipsEnabled!: boolean;
@ManyToOne(() => BusinessCategoryEntity, (category) => category.businesses, {
onDelete: 'RESTRICT',
})