awaiting_payment

This commit is contained in:
2026-06-29 15:46:24 +03:30
parent bb5f2ef2b3
commit 2eb6718bf4
9 changed files with 536 additions and 9 deletions
+4
View File
@@ -58,6 +58,10 @@ export class BusinessEntity {
@Column({ type: 'int', default: 30 })
slotStepMinutes!: number;
/** When true, new bookings skip manual owner approval and go straight to payment. */
@Column({ default: false })
autoApproveBookings!: boolean;
@ManyToOne(() => BusinessCategoryEntity, (category) => category.businesses, {
onDelete: 'RESTRICT',
})