18 lines
417 B
Go
18 lines
417 B
Go
|
|
package response
|
||
|
|
|
||
|
|
type Branch struct {
|
||
|
|
ID *int64 `json:"id"`
|
||
|
|
Name string `json:"name"`
|
||
|
|
Status string `json:"status"`
|
||
|
|
Location string `json:"location"`
|
||
|
|
CreatedAt string `json:"created_at"`
|
||
|
|
UpdatedAt string `json:"updated_at"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type BranchList struct {
|
||
|
|
Branches []Branch `json:"branches"`
|
||
|
|
Total int64 `json:"total"`
|
||
|
|
Limit int `json:"limit"`
|
||
|
|
Offset int `json:"offset"`
|
||
|
|
}
|