API Menu Kesehatan, Sub Menu Posyandu

This commit is contained in:
2025-06-05 16:10:43 +08:00
parent 5e74447056
commit 46748205fd
12 changed files with 345 additions and 18 deletions

View File

@@ -62,6 +62,8 @@ model FileStorage {
link String
Berita Berita[]
PotensiDesa PotensiDesa[]
Posyandu Posyandu[]
}
//========================================= MENU PPID ========================================= //
@@ -615,3 +617,17 @@ model DoctorSign {
deletedAt DateTime @default(now())
isActive Boolean @default(true)
}
// ========================================= POSYANDU ========================================= //
model Posyandu {
id String @id @default(cuid())
name String
nomor String
deskripsi String
image FileStorage @relation(fields: [imageId], references: [id])
imageId String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
deletedAt DateTime @default(now())
isActive Boolean @default(true)
}