File: D:/HostingSpaces/SBogers10/reiskick.komma.nl/app/InstagramHighlights/Models/InstagramHighlight.php
<?php
namespace App\InstagramHighlights\Models;
use App\Countries\Country;
use Illuminate\Database\Eloquent\Model;
use Komma\KMS\Core\Attributes\Models\Traits\HasThumbnailInterface;
use Komma\KMS\Core\Attributes\Models\Traits\HasThumbnailTrait;
use Komma\KMS\Core\Tree\NestedSets\Nodes\TreeModelInterface;
use Komma\KMS\Core\Tree\NestedSets\Nodes\TreeModelLogicTrait;
use Komma\KMS\Documents\DocumentsTrait;
use Komma\KMS\Documents\Kms\DocumentableInterface;
use Komma\KMS\Globalization\Languages\Models\Language;
use Komma\KMS\Core\AbstractTranslatableModel;
use Komma\KMS\Core\Entities\DisplayNameInterface;
use Komma\KMS\Core\Entities\DisplayNameTrait;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\Relations\HasOne;
use Illuminate\Support\Carbon;
/**
* Class Page
*
* @package App\Pages\Models
* @property int site_id
* @property int lft
* @property int rgt
* @property int tree
* @property-read Carbon $date
* @property-read \Komma\KMS\Globalization\Languages\Models\Language[] $languages
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Site\Site[] $sites
* @property-read \App\InstagramHighlights\Models\InstagramHighlightTranslation $translation
* @property-read \Illuminate\Database\Eloquent\Collection|\App\InstagramHighlights\Models\InstagramHighlightTranslation[] $translations
* @mixin \Eloquent
* @property int $id
* @property int $active
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|\App\InstagramHighlights\Models\InstagramHighlight whereActive($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\InstagramHighlights\Models\InstagramHighlight whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\InstagramHighlights\Models\InstagramHighlight whereDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\InstagramHighlights\Models\InstagramHighlight whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\InstagramHighlights\Models\InstagramHighlight whereUpdatedAt($value)
* @property \Illuminate\Database\Eloquent\Collection|\Komma\KMS\Documents\Models\Document[] $documents
* @property-read \Illuminate\Database\Eloquent\Collection|\Komma\KMS\Documents\Models\Document[] $images
* @method static \Illuminate\Database\Eloquent\Builder|\App\InstagramHighlights\Models\InstagramHighlight newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\InstagramHighlights\Models\InstagramHighlight newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\InstagramHighlights\Models\InstagramHighlight query()
*/
final class InstagramHighlight extends Model implements DocumentableInterface, DisplayNameInterface, HasThumbnailInterface, TreeModelInterface
{
use DocumentsTrait;
use DisplayNameTrait;
use HasThumbnailTrait;
use TreeModelLogicTrait;
protected $table = 'instagram_highlights';
protected $class = InstagramHighlight::class;
protected $fillable = ['active', 'link', 'name', 'lft', 'rgt', 'tree',];
}