feat: add address text en
This commit is contained in:
parent
2ee0e97953
commit
f90ee41a56
2 changed files with 18 additions and 9 deletions
|
|
@ -400,17 +400,20 @@ model User {
|
||||||
|
|
||||||
addressForeign Boolean @default(false)
|
addressForeign Boolean @default(false)
|
||||||
|
|
||||||
provinceText String?
|
provinceText String?
|
||||||
province Province? @relation(fields: [provinceId], references: [id], onDelete: SetNull)
|
provinceTextEN String?
|
||||||
provinceId String?
|
province Province? @relation(fields: [provinceId], references: [id], onDelete: SetNull)
|
||||||
|
provinceId String?
|
||||||
|
|
||||||
districtText String?
|
districtText String?
|
||||||
district District? @relation(fields: [districtId], references: [id], onDelete: SetNull)
|
districtTextEN String?
|
||||||
districtId String?
|
district District? @relation(fields: [districtId], references: [id], onDelete: SetNull)
|
||||||
|
districtId String?
|
||||||
|
|
||||||
subDistrictText String?
|
subDistrictText String?
|
||||||
subDistrict SubDistrict? @relation(fields: [subDistrictId], references: [id], onDelete: SetNull)
|
subDistrictTextEN String?
|
||||||
subDistrictId String?
|
subDistrict SubDistrict? @relation(fields: [subDistrictId], references: [id], onDelete: SetNull)
|
||||||
|
subDistrictId String?
|
||||||
|
|
||||||
zipCodeText String?
|
zipCodeText String?
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -124,10 +124,13 @@ type UserCreate = {
|
||||||
telephoneNo: string;
|
telephoneNo: string;
|
||||||
|
|
||||||
subDistrictText?: string | null;
|
subDistrictText?: string | null;
|
||||||
|
subDistrictTextEN?: string | null;
|
||||||
subDistrictId?: string | null;
|
subDistrictId?: string | null;
|
||||||
districtText?: string | null;
|
districtText?: string | null;
|
||||||
|
districtTextEN?: string | null;
|
||||||
districtId?: string | null;
|
districtId?: string | null;
|
||||||
provinceText?: string | null;
|
provinceText?: string | null;
|
||||||
|
provinceTextEN?: string | null;
|
||||||
provinceId?: string | null;
|
provinceId?: string | null;
|
||||||
|
|
||||||
selectedImage?: string;
|
selectedImage?: string;
|
||||||
|
|
@ -192,10 +195,13 @@ type UserUpdate = {
|
||||||
selectedImage?: string;
|
selectedImage?: string;
|
||||||
|
|
||||||
subDistrictText?: string | null;
|
subDistrictText?: string | null;
|
||||||
|
subDistrictTextEN?: string | null;
|
||||||
subDistrictId?: string | null;
|
subDistrictId?: string | null;
|
||||||
districtText?: string | null;
|
districtText?: string | null;
|
||||||
|
districtTextEN?: string | null;
|
||||||
districtId?: string | null;
|
districtId?: string | null;
|
||||||
provinceText?: string | null;
|
provinceText?: string | null;
|
||||||
|
provinceTextEN?: string | null;
|
||||||
provinceId?: string | null;
|
provinceId?: string | null;
|
||||||
|
|
||||||
branchId?: string | string[];
|
branchId?: string | string[];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue