Add types.DbMetric type to types package

This commit is contained in:
qowevisa 2024-11-19 10:13:19 +02:00
parent 8855cc3e54
commit f4342ba019

View File

@ -116,3 +116,9 @@ type DbItemSearch struct {
CategoryID uint `json:"category_id" example:"1"`
TypeID uint `json:"type_id" example:"1"`
}
type DbMetric struct {
Value uint8 `json:"value" example:"1"`
Name string `json:"name" example:"Kilogram"`
Short string `json:"short" example:"kg"`
}