27 lines
470 B
PHP
27 lines
470 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class CarrierRangePrice extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
public function carrier()
|
|
{
|
|
return $this->belongsTo(Carrier::class);
|
|
}
|
|
|
|
public function carrier_ranges()
|
|
{
|
|
return $this->belongsTo(CarrierRange::class);
|
|
}
|
|
|
|
public function zone()
|
|
{
|
|
return $this->belongsTo(Zone::class);
|
|
}
|
|
}
|