fin-check-api/db/item_bought.go

13 lines
159 B
Go
Raw 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
Quantity uint
PaymentID uint
Payment *Payment
}