Add Item-Type relationship

This commit is contained in:
qowevisa 2024-11-01 09:30:01 +02:00
parent 02a33aaced
commit 48f7b8258e

View File

@ -19,6 +19,9 @@ type Item struct {
Prices []ItemPrice
CurrentPriceID uint
CurrentPrice *ItemPrice
//
TypeID uint
Type *Type
}
func GetItem(id uint, preloadPrices bool) (*Item, error) {