package models import "time" type Order_products struct { Order_products_id uint `gorm:"primaryKey"` Order_id uint Order Order `gorm:"references:Order_id"` Product_id uint Product Product `gorm:"references:Product_id"` Price uint64 Quantity_ordered uint Created_at time.Time Updated_at time.Time `gorm:"default:null"` Removed_at time.Time `gorm:"default:null"` Is_removed bool `gorm:"default:false"` }