File "ContactMessage.php"
Full path: /home/orbitecv/orbite-school.orbit.et/app/Models/ContactMessage.php
File size: 367 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Edit Back
<?php
namespace App\Models;
use App\Models\Scopes\OrganizationScope;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class ContactMessage extends Model
{
protected $guarded = ['id'];
use HasFactory;
protected static function booted()
{
static::addGlobalScope(new OrganizationScope);
}
}