diff --git a/03_source/cms_backend/prisma/schema.prisma b/03_source/cms_backend/prisma/schema.prisma index ac50f16..f8d57f5 100644 --- a/03_source/cms_backend/prisma/schema.prisma +++ b/03_source/cms_backend/prisma/schema.prisma @@ -1146,46 +1146,47 @@ model EventReview { // NOTE: need to consider with Event // mapped to IEventItem +// a.k.a. PartyEvent party-event model EventItem { id String @id @default(uuid()) createdAt DateTime @default(now()) updatedAt DateTime @updatedAt // - sku String - name String - code String - price Float - taxes Float - tags String[] - sizes String[] - publish String - gender String[] - coverUrl String - images String[] - colors String[] - quantity Int - category String available Int - totalSold Int + category String + code String + colors String[] + coverUrl String description String + gender String[] + images String[] + inventoryType String + name String + newLabel Json + price Float + priceSale Float? + publish String + quantity Int + ratings Json[] + saleLabel Json + sizes String[] + sku String + subDescription String + tags String[] + taxes Float totalRatings Float totalReviews Int - inventoryType String - subDescription String - priceSale Float? - newLabel Json - saleLabel Json - ratings Json[] + totalSold Int // - eventDate DateTime @default(now()) - joinMembers Json[] - title String - currency String - duration_m Float ageBottom Float ageTop Float - location String avatar String[] + currency String + duration_m Float + eventDate DateTime @default(now()) + joinMembers Json[] + location String + title String // reviews EventReview[] }