Add Item-Type relationship
This commit is contained in:
parent
02a33aaced
commit
48f7b8258e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user