update concurrentCapacity

This commit is contained in:
2026-06-01 13:26:25 +03:30
parent 150b189be5
commit 0d90703827
5 changed files with 59 additions and 3 deletions
+4
View File
@@ -49,6 +49,10 @@ export class BusinessEntity {
@Column({ default: false })
serviceClassesEnabled!: boolean;
/** Max simultaneous bookings per overlapping time window */
@Column({ type: 'int', default: 1 })
concurrentCapacity!: number;
@ManyToOne(() => BusinessCategoryEntity, (category) => category.businesses, {
onDelete: 'RESTRICT',
})