labels dto + controller + service placeholders
This commit is contained in:
parent
569480ba26
commit
1991e9aec8
3 changed files with 270 additions and 0 deletions
|
|
@ -75,3 +75,22 @@ type DeleteZeroPrices struct {
|
|||
Id int64 `json:"id"`
|
||||
MerchUuid string `json:"merch_uuid"`
|
||||
}
|
||||
|
||||
// Labels
|
||||
type LabelDTO struct {
|
||||
Name string `json:"name"`
|
||||
Color string `json:"color,omitempty"`
|
||||
BgColor string `json:"bg_color,omitempty"`
|
||||
}
|
||||
|
||||
type LabelsList struct {
|
||||
LabelUuid string `json:"label_uuid"`
|
||||
Name string `json:"name"`
|
||||
Color string `json:"color,omitempty"`
|
||||
BgColor string `json:"bg_color,omitempty"`
|
||||
}
|
||||
|
||||
type LabelLink struct {
|
||||
MerchUuid string `json:"merch_uuid"`
|
||||
LabelUuid string `json:"label_uuid"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue