This commit is contained in:
2026-08-28 17:31:02 +02:00
commit 2b30e8bd39
694 changed files with 49243 additions and 0 deletions
@@ -0,0 +1,40 @@
import { Column, CreateDateColumn, Entity, PrimaryGeneratedColumn, UpdateDateColumn } from 'typeorm';
@Entity('shop_settings')
export class ShopSettings {
@PrimaryGeneratedColumn('uuid')
id: string;
@Column({ type: 'varchar', nullable: true })
logoStorageKey: string | null;
@Column({ type: 'varchar', nullable: true })
faviconStorageKey: string | null;
@Column({ type: 'varchar', nullable: true })
simplexLink: string | null;
@Column({ type: 'varchar', nullable: true })
simplexNotificationLink: string | null;
@Column({ type: 'text', nullable: true })
shippingNote: string | null;
@Column({ type: 'boolean', default: false })
notificationsEnabled: boolean;
@Column({ type: 'boolean', default: true })
notifyOnNewOrder: boolean;
@Column({ type: 'boolean', default: true })
notifyOnOrderMessage: boolean;
@Column({ type: 'integer', nullable: true })
simplexNotificationContactId: number | null;
@CreateDateColumn()
createdAt: Date;
@UpdateDateColumn()
updatedAt: Date;
}