tags fixes
This commit is contained in:
parent
9eed4c99cc
commit
e9b58d171f
2 changed files with 4 additions and 4 deletions
|
|
@ -54,7 +54,7 @@ type PriceEntry struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type OriginWithPrices struct {
|
type OriginWithPrices struct {
|
||||||
Origin origins.Origin `json:"origins"`
|
Origin origins.Origin `json:"origin"`
|
||||||
Prices []PriceEntry
|
Prices []PriceEntry
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -67,7 +67,7 @@ type PricesResponse struct {
|
||||||
type UpdateMerchDTO struct {
|
type UpdateMerchDTO struct {
|
||||||
MerchUuid string `json:"merch_uuid"`
|
MerchUuid string `json:"merch_uuid"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Origin string `json:"origins"`
|
Origin string `json:"origin"`
|
||||||
Link string `json:"link"`
|
Link string `json:"link"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -99,7 +99,7 @@ type ZeroPrice struct {
|
||||||
CreatedAt time.Time `json:"created_at"`
|
CreatedAt time.Time `json:"created_at"`
|
||||||
MerchUuid string `json:"merch_uuid"`
|
MerchUuid string `json:"merch_uuid"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Origin origins.Origin `json:"origins"`
|
Origin origins.Origin `json:"origin"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteZeroPrices struct {
|
type DeleteZeroPrices struct {
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ type Price struct {
|
||||||
DeletedAt sql.NullTime `json:"deleted_at,omitempty" gorm:"column:deleted_at"`
|
DeletedAt sql.NullTime `json:"deleted_at,omitempty" gorm:"column:deleted_at"`
|
||||||
MerchUuid string `json:"merch_uuid" gorm:"column:merch_uuid"`
|
MerchUuid string `json:"merch_uuid" gorm:"column:merch_uuid"`
|
||||||
Price int `json:"price" gorm:"column:price"`
|
Price int `json:"price" gorm:"column:price"`
|
||||||
Origin origins.Origin `json:"origins" gorm:"column:origins;type:integer"`
|
Origin origins.Origin `json:"origin" gorm:"column:origins;type:integer"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Label struct {
|
type Label struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue