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/blije-gasten.komma.pro/app/Komma/Zipcodes/Models/Zipcode.php
<?php
namespace App\Komma\Zipcodes\Models;

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 Page
 *
 * @package App\Komma\Pages\Models
 * @property string $zipcode
 * @property string $region_name
 * @property string $country
 * @property integer $price
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 */
final class Zipcode extends Model implements DisplayNameInterface, HasThumbnailInterface
{
    use DisplayNameTrait;
    use HasThumbnailTrait;

    protected $table = 'zipcodes';
    protected $class = Zipcode::class;

    protected $fillable = ['zipcode', 'region_name', 'country', 'price'];

    /**
     * Get the name for the sidebar
     *
     * @return string
     */
    public function getSidebarName():string
    {
        return $this->region_name;
    }
}