feat : update project get all

This commit is contained in:
lukman
2024-08-21 14:01:17 +08:00
parent 07369e5db9
commit d2d2b0cc9e
19 changed files with 683 additions and 254 deletions

View File

@@ -167,6 +167,7 @@ model Project {
Group Group @relation(fields: [idGroup], references: [id])
idGroup String
name String
status Int @default(0) // 0 = pending, 1 = ongoing, 2 = done, 3 = cancelled
desc String @db.Text
isActive Boolean @default(true)
User User @relation(fields: [createdBy], references: [id])