fin-check-api/db/item_bought.go

20 lines
319 B
Go
Raw Permalink Normal View History

2024-08-01 23:02:55 +02:00
package db
import "gorm.io/gorm"
type ItemBought struct {
gorm.Model
ItemID uint
Item *Item
PaymentID uint
Payment *Payment
TypeID uint
Type *Type
Quantity uint
TotalCost uint64
MetricType uint8
MetricValue uint64
2024-08-01 23:02:55 +02:00
}
func (i ItemBought) __internalBelogingToPayment() {}