Nuevos cambios hechos de diseño
This commit is contained in:
26
desarrollo2/app/Models/CarrierRangePrice.php
Normal file
26
desarrollo2/app/Models/CarrierRangePrice.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user