cfbb20c1-e953-4788-abed-5c8308f329ee
This commit is contained in:
1 parent
be34f88822
commit
9feb124da6
18 files changed
+998
-4
No files matched your search
@@ -507,5 +507,27 @@ model Webhook {
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Client Portal (PRD §6.3) — milestone approvals with evidence
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
model PortalApproval {
|
||||
id String @id @default(cuid())
|
||||
projectId String
|
||||
title String // e.g. "Design-Entwürfe freigeben"
|
||||
description String?
|
||||
status String @default("pending") // pending|approved|rejected|changes-requested
|
||||
// evidence (PRD §6.3: "approvals with timestamp and IP evidence")
|
||||
decidedAt DateTime?
|
||||
decidedBy String? // client name
|
||||
decidedIp String? // real client IP at decision time
|
||||
decision String? // free-text reason/feedback
|
||||
// content hash for tamper-evidence
|
||||
contentHash String?
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user