feat: add field for storing institution
This commit is contained in:
parent
8e9ef01ae3
commit
4bf24dd602
1 changed files with 16 additions and 6 deletions
|
|
@ -977,15 +977,25 @@ model WorkflowTemplate {
|
|||
service Service[]
|
||||
}
|
||||
|
||||
model WorkflowTemplateStepInstitution {
|
||||
id String @id @default(cuid())
|
||||
|
||||
group String
|
||||
|
||||
workflowTemplateStep WorkflowTemplateStep @relation(fields: [workflowTemplateStepId], references: [id])
|
||||
workflowTemplateStepId String
|
||||
}
|
||||
|
||||
model WorkflowTemplateStep {
|
||||
id String @id @default(cuid())
|
||||
|
||||
order Int
|
||||
name String
|
||||
detail String?
|
||||
type String?
|
||||
value WorkflowTemplateStepValue[] // NOTE: For enum or options type
|
||||
responsiblePerson WorkflowTemplateStepUser[]
|
||||
order Int
|
||||
name String
|
||||
detail String?
|
||||
type String?
|
||||
value WorkflowTemplateStepValue[] // NOTE: For enum or options type
|
||||
responsiblePerson WorkflowTemplateStepUser[]
|
||||
responsibleInstitution WorkflowTemplateStepInstitution[]
|
||||
|
||||
workflowTemplate WorkflowTemplate? @relation(fields: [workflowTemplateId], references: [id])
|
||||
workflowTemplateId String?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue