generator client { provider = "prisma-client" output = "../src/generated/prisma" } datasource db { provider = "sqlite" } model AdminUser { id String @id @default(cuid()) username String @unique passwordHash String createdAt DateTime @default(now()) updatedAt DateTime @updatedAt } model AppSettings { key String @id value String updatedAt DateTime @updatedAt } model Snapshot { paymentIntentId String @id imageData String createdAt DateTime @default(now()) } model Order { id String @id @default(cuid()) paymentIntentId String @unique amount Int currency String @default("aed") status String customerName String? customerEmail String? customerPhone String? customerAddress String? customerCity String? customerCountry String? customerPostalCode String? persona String? color String? priceItems String? createdAt DateTime @default(now()) updatedAt DateTime @updatedAt } model PricingItem { id String @id label String price Int modelPath String? sortOrder Int @default(0) createdAt DateTime @default(now()) updatedAt DateTime @updatedAt }