mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-07-31 05:16:49 -04:00
19 lines
476 B
PHP
19 lines
476 B
PHP
<?php
|
|
namespace Modules\Subscription\Entities;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Support\Facades\Auth;
|
|
use Spatie\Translatable\HasTranslations;
|
|
|
|
class RestrictedLocation extends Model
|
|
{
|
|
protected $table = "subscription_restricted_locations";
|
|
protected $guarded = ["id"];
|
|
|
|
public function scopeActive($query)
|
|
{
|
|
return $query->where('status', 1);
|
|
}
|
|
}
|