File: D:/HostingSpaces/brameda/brameda.nl/app/Komma/WebsiteConfig/Model/WebsiteConfig.php
<?php
namespace App\Komma\WebsiteConfig\Model;
use App\Komma\Documents\DocumentsTrait;
use App\Komma\Documents\Kms\DocumentableInterface;
use App\Komma\Kms\Core\Attributes\Models\Traits\HasThumbnailInterface;
use App\Komma\Kms\Core\Attributes\Models\Traits\HasThumbnailTrait;
use App\Komma\Kms\Core\Entities\DisplayNameInterface;
use App\Komma\Kms\Core\Entities\DisplayNameTrait;
use Illuminate\Database\Eloquent\Model;
class WebsiteConfig extends Model implements DocumentableInterface, DisplayNameInterface, HasThumbnailInterface
{
use DocumentsTrait;
use HasThumbnailTrait;
use DisplayNameTrait;
protected $table = 'website_config';
protected $fillable = ['code_name', 'value'];
/**
* Get the name of this model by model or translation model
*
* @return null|string
*/
public function getDisplayName():?string
{
return "Website Config";
}
/**
* Get the name for the sidebar
*
* @return string
*/
public function getSidebarName(): string
{
return "Website Config";
}
}