Cài đặt tính năng hiển thị chi phí

This commit is contained in:
2026-06-15 20:20:34 +07:00
parent 879f20985c
commit f52580717f
8 changed files with 319 additions and 42 deletions
+4
View File
@@ -83,6 +83,10 @@ model Tour {
createdAt DateTime @default(now())
totalCost Decimal @default(0) @db.Decimal(15, 2)
adultCount Int @default(1)
childCount Int @default(0)
childDiscount Int @default(30)
createdById String
creator User @relation("TourCreator", fields: [createdById], references: [id])