feat: add property management endpoint
This commit is contained in:
parent
e6903af8ce
commit
140cb59ebb
3 changed files with 206 additions and 0 deletions
|
|
@ -318,6 +318,7 @@ model Branch {
|
|||
workflowTemplate WorkflowTemplate[]
|
||||
taskOrder TaskOrder[]
|
||||
notification Notification[]
|
||||
property Property[]
|
||||
}
|
||||
|
||||
model BranchBank {
|
||||
|
|
@ -1004,6 +1005,23 @@ model Institution {
|
|||
taskOrder TaskOrder[]
|
||||
}
|
||||
|
||||
model Property {
|
||||
id String @id @default(cuid())
|
||||
|
||||
registeredBranch Branch @relation(fields: [registeredBranchId], references: [id])
|
||||
registeredBranchId String
|
||||
|
||||
name String
|
||||
nameEN String
|
||||
|
||||
type Json
|
||||
|
||||
status Status @default(CREATED)
|
||||
statusOrder Int @default(0)
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
}
|
||||
|
||||
model WorkflowTemplate {
|
||||
id String @id @default(cuid())
|
||||
name String
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue