belongsTo(OrderProxy::modelClass()); } /** * Get the shipment items record associated with the shipment. */ public function items() { return $this->hasMany(ShipmentItemProxy::modelClass()); } /** * Get the customer record associated with the shipment. */ public function customer() { return $this->morphTo(); } /** * Get the addresses for the shipment. */ public function address() { return $this->belongsTo(OrderAddressProxy::modelClass(), 'order_address_id'); } }