Add TotalCost MetricValue MetricType and Type relationship to ItemBought

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

View File

@ -6,7 +6,12 @@ type ItemBought struct {
gorm.Model
ItemID uint
Item *Item
Quantity uint
PaymentID uint
Payment *Payment
TypeID uint
Type *Type
Quantity uint
TotalCost uint64
MetricType uint8
MetricValue uint64
}