feat: add field
This commit is contained in:
parent
18963f666d
commit
8f60197082
3 changed files with 6 additions and 0 deletions
|
|
@ -0,0 +1,2 @@
|
||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE "Branch" ADD COLUMN "remark" TEXT;
|
||||||
|
|
@ -238,6 +238,8 @@ model Branch {
|
||||||
|
|
||||||
selectedImage String?
|
selectedImage String?
|
||||||
|
|
||||||
|
remark String?
|
||||||
|
|
||||||
bank BranchBank[]
|
bank BranchBank[]
|
||||||
|
|
||||||
status Status @default(CREATED)
|
status Status @default(CREATED)
|
||||||
|
|
|
||||||
|
|
@ -65,6 +65,7 @@ type BranchCreate = {
|
||||||
latitude: string;
|
latitude: string;
|
||||||
virtual?: boolean;
|
virtual?: boolean;
|
||||||
selectedImage?: string;
|
selectedImage?: string;
|
||||||
|
remark?: string;
|
||||||
|
|
||||||
bank?: {
|
bank?: {
|
||||||
bankName: string;
|
bankName: string;
|
||||||
|
|
@ -107,6 +108,7 @@ type BranchUpdate = {
|
||||||
latitude?: string;
|
latitude?: string;
|
||||||
virtual?: boolean;
|
virtual?: boolean;
|
||||||
selectedImage?: string;
|
selectedImage?: string;
|
||||||
|
remark?: string;
|
||||||
|
|
||||||
subDistrictId?: string | null;
|
subDistrictId?: string | null;
|
||||||
districtId?: string | null;
|
districtId?: string | null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue