File: D:/HostingSpaces/SBogers95/rentman.io/app/Komma/WebinarTags/Models/WebinarTagTranslation.php
<?php
namespace App\Komma\WebinarTags\Models;
use App\Komma\Kms\Core\AbstractTranslationModel;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
/**
* Class PageTranslation
*
* @property int page_id
* @property-read \App\Komma\Languages\Models\Language $language
* @property-read \App\Komma\WebinarTags\Models\WebinarTag $translatable
* @mixin \Eloquent
* @property int $id
* @property int $customer_logo_id
* @property int $language_id
* @property string $name
* @property string $slug
* @property string $description
* @property string|null $meta_description
* @property \Carbon\Carbon|null $created_at
* @property \Carbon\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\WebinarTags\Models\WebinarTagTranslation whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\WebinarTags\Models\WebinarTagTranslation whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\WebinarTags\Models\WebinarTagTranslation whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\WebinarTags\Models\WebinarTagTranslation whereLanguageId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\WebinarTags\Models\WebinarTagTranslation whereMetaDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\WebinarTags\Models\WebinarTagTranslation whereMetaTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\WebinarTags\Models\WebinarTagTranslation whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\WebinarTags\Models\WebinarTagTranslation whereWebinarTagId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\WebinarTags\Models\WebinarTagTranslation whereSlug($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\WebinarTags\Models\WebinarTagTranslation whereUpdatedAt($value)
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Komma\Dynamic\ComponentArea\ComponentArea[] $componentAreas
* @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\WebinarTags\Models\WebinarTagTranslation newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\WebinarTags\Models\WebinarTagTranslation newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\WebinarTags\Models\WebinarTagTranslation query()
*/
class WebinarTagTranslation extends AbstractTranslationModel
{
protected $table = 'webinar_tag_translations';
protected $fillable = ['active', 'name'];
public function translatable():BelongsTo
{
return $this->belongsTo(WebinarTag::class, 'webinar_tag_id');
}
}