ch branches
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled

This commit is contained in:
guwandyk committed 2026-09-30 13:48:35 +05:00
1 parent 6f54e9c20b
commit 4f3631c70d
4 files changed
+41 -11

No files matched your search

+14 -3
View File
@@ -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"`
}