labels dto + controller + service placeholders

This commit is contained in:
nquidox 2026-03-13 16:02:49 +03:00
parent 569480ba26
commit 1991e9aec8
3 changed files with 270 additions and 0 deletions

View file

@ -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"`
}