This commit is contained in:
2026-07-16 13:32:53 +03:30
parent 893035cef2
commit 61c8653af6
10 changed files with 434 additions and 37 deletions
+6
View File
@@ -85,6 +85,12 @@ export class BusinessEntity {
@Column({ type: 'varchar', length: 20, default: 'first_booking' })
promoDiscountMode!: 'first_booking' | 'always';
@Column({ name: 'logo_light_url', type: 'varchar', length: 500, nullable: true })
logoLightUrl!: string | null;
@Column({ name: 'logo_dark_url', type: 'varchar', length: 500, nullable: true })
logoDarkUrl!: string | null;
@ManyToOne(() => BusinessCategoryEntity, (category) => category.businesses, {
onDelete: 'RESTRICT',
})