feat: add selected image field
This commit is contained in:
parent
20dae3768e
commit
cd5f8245c4
2 changed files with 4 additions and 0 deletions
|
|
@ -954,6 +954,8 @@ model Institution {
|
|||
|
||||
subDistrict SubDistrict @relation(fields: [subDistrictId], references: [id], onDelete: Cascade)
|
||||
subDistrictId String
|
||||
|
||||
selectedImage String?
|
||||
}
|
||||
|
||||
model WorkflowTemplate {
|
||||
|
|
|
|||
|
|
@ -41,6 +41,8 @@ type InstitutionPayload = {
|
|||
subDistrictId: string;
|
||||
districtId: string;
|
||||
provinceId: string;
|
||||
|
||||
selectedImage?: string | null;
|
||||
};
|
||||
|
||||
@Route("api/v1/institution")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue