new dto-s
This commit is contained in:
parent
268914e2de
commit
ac879ba4b0
1 changed files with 12 additions and 0 deletions
|
|
@ -46,6 +46,18 @@ type extraDataDTO struct {
|
||||||
Links []originLink `json:"links"`
|
Links []originLink `json:"links"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ListResponse struct {
|
||||||
|
MerchUuid string `json:"merch_uuid"`
|
||||||
|
Name string `json:"name"`
|
||||||
|
Labels []string `json:"labels,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type getMerchInternal struct {
|
||||||
|
Id int64 `json:"id"`
|
||||||
|
MerchUuid string `json:"merch_uuid"`
|
||||||
|
Name string `json:"name"`
|
||||||
|
}
|
||||||
|
|
||||||
// prices dtos
|
// prices dtos
|
||||||
type PriceEntry struct {
|
type PriceEntry struct {
|
||||||
CreatedAt int64 `json:"created_at"`
|
CreatedAt int64 `json:"created_at"`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue