20 lines
610 B
Go
20 lines
610 B
Go
|
|
package response
|
||
|
|
|
||
|
|
type Studio struct {
|
||
|
|
ID *int64 `json:"id"`
|
||
|
|
BranchId *int64 `json:"branch_id"`
|
||
|
|
Name string `json:"name"`
|
||
|
|
Status string `json:"status"`
|
||
|
|
Price float64 `json:"price"`
|
||
|
|
CreatedAt string `json:"created_at"`
|
||
|
|
Metadata map[string]interface{} `json:"metadata"`
|
||
|
|
UpdatedAt string `json:"updated_at"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type StudioList struct {
|
||
|
|
Studios []Studio `json:"studios"`
|
||
|
|
Total int64 `json:"total"`
|
||
|
|
Limit int `json:"limit"`
|
||
|
|
Offset int `json:"offset"`
|
||
|
|
}
|