<?php

namespace App\Models;

use App\Libs\Database\Eloquent\ContentTypeModel;
use App\Models\GenericBackoffice\Traits\LanguageSupportTrait;

class MapInformation extends ContentTypeModel
{
    use LanguageSupportTrait;

    protected $hidden = ['languages', "websites"];
    protected $with = ['languages', "websites"];
    protected $table = 'map_informations';

    public function mapItem()
    {
        return $this->belongsTo(MapItem::class, 'map_item_id', 'id');
    }
}
