Thêm tính năng trong mục 4.1 của ARCHITECTURE.md
This commit is contained in:
@@ -123,11 +123,10 @@ model Location {
|
||||
|
||||
model Expense {
|
||||
id String @id @default(uuid())
|
||||
legId String
|
||||
locationId String?
|
||||
legId String @map("leg_id")
|
||||
locationId String? @map("location_id")
|
||||
category ExpenseCategory
|
||||
amount Decimal @db.Decimal(15, 2)
|
||||
currency String @default("VND")
|
||||
description String? @db.Text
|
||||
|
||||
leg Leg @relation(fields: [legId], references: [id], onDelete: Cascade)
|
||||
|
||||
Reference in New Issue
Block a user