HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/bomacon.komma.pro/app/WebsiteConfig/Model/WebsiteConfig.php
<?php

namespace App\WebsiteConfig\Model;

use Komma\KMS\Core\Attributes\Models\Traits\HasThumbnailInterface;
use Komma\KMS\Core\Attributes\Models\Traits\HasThumbnailTrait;
use Komma\KMS\Core\Entities\DisplayNameInterface;
use Komma\KMS\Core\Entities\DisplayNameTrait;
use Illuminate\Database\Eloquent\Model;
use Komma\KMS\Documents\DocumentsTrait;
use Komma\KMS\Documents\Kms\DocumentableInterface;

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";
    }
}