'array', 'bom_snapshot' => 'array', 'quoted_price' => 'decimal:4', ]; public function productPlatform() { return $this->belongsTo(ProductPlatform::class, 'product_platform_id'); } public function contact() { return $this->belongsTo(Contact::class, 'contact_id'); } public function sellTransaction() { return $this->belongsTo(Transaction::class, 'sell_transaction_id'); } public function createdBy() { return $this->belongsTo(User::class, 'created_by'); } }