ch branches
This commit is contained in:
1 parent
6f54e9c20b
commit
4f3631c70d
4 files changed
+41
-11
No files matched your search
@@ -71,7 +71,18 @@ type ListFilter struct {
|
||||
Limit int
|
||||
}
|
||||
|
||||
type ListBranchDTO struct {
|
||||
Count int64 `json:"count"`
|
||||
Branches []BranchDTO `json:"branches"`
|
||||
// BranchListItemDTO is the list row; address, region and billing credentials
|
||||
// come from GET /branches/:id.
|
||||
type BranchListItemDTO struct {
|
||||
Id int64 `json:"id"`
|
||||
UniqueCode string `json:"uniqueCode"`
|
||||
Name LocalizedText `json:"name"`
|
||||
ProvinceName LocalizedText `json:"provinceName"`
|
||||
PhoneNumbers string `json:"phoneNumbers"`
|
||||
Active bool `json:"active"`
|
||||
}
|
||||
|
||||
type ListBranchDTO struct {
|
||||
Count int64 `json:"count"`
|
||||
Branches []BranchListItemDTO `json:"branches"`
|
||||
}
|
||||
Reference in new issue
Block a user