芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/yeahea.digitalhubbd.com/app/Models/Carrier.php
hasMany(ShippingRate::class); } /** * Get all of the shippingZones for the country. */ public function shippingZones() { return $this->belongsToMany(ShippingZone::class, 'shipping_rates'); } /** * Get the Shop associated with the carrier. */ public function shop() { return $this->belongsTo(Shop::class); } /** * Get the carts for the carrier. */ public function carts() { return $this->hasMany(Cart::class); } /** * Get the orders for the carrier. */ public function orders() { return $this->hasMany(Order::class); } }