edit business

This commit is contained in:
2026-06-02 11:35:54 +03:30
parent 0d90703827
commit 49bf3118c9
5 changed files with 72 additions and 8 deletions
+4
View File
@@ -53,6 +53,10 @@ export class BusinessEntity {
@Column({ type: 'int', default: 1 })
concurrentCapacity!: number;
/** Minutes between bookable slot start times (e.g. 30 → 10:00, 10:30, 11:00) */
@Column({ type: 'int', default: 30 })
slotStepMinutes!: number;
@ManyToOne(() => BusinessCategoryEntity, (category) => category.businesses, {
onDelete: 'RESTRICT',
})