fin-check-api/db/item_bought.go

18 lines
265 B
Go

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
}