ok
Direktori : /proc/self/root/home2/selectio/www/limpiar.in.net/updates/app/Models/ |
Current File : //proc/self/root/home2/selectio/www/limpiar.in.net/updates/app/Models/Carrier.php |
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Carrier extends Model { use HasFactory; public function carrier_ranges(){ return $this->hasMany(CarrierRange::class); } public function carrier_range_prices(){ return $this->hasMany(CarrierRangePrice::class); } public function scopeActive($query) { return $query->where('status', 1); } }