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/SBogers95/rentman.io/app/Komma/PricingLabels/Models/PricingLabelTranslation.php
<?php

namespace App\Komma\PricingLabels\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\PricingLabels\Models\PricingLabel $translatable
 * @mixin \Eloquent
 * @property int $id
 * @property int $pricing_label_id
 * @property int $language_id
 * @property string $name
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\PricingLabels\Models\PricingLabelTranslation whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\PricingLabels\Models\PricingLabelTranslation whereDescription($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\PricingLabels\Models\PricingLabelTranslation whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\PricingLabels\Models\PricingLabelTranslation whereLanguageId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\PricingLabels\Models\PricingLabelTranslation whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\PricingLabels\Models\PricingLabelTranslation wherePricingLabelId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\PricingLabels\Models\PricingLabelTranslation whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\PricingLabels\Models\PricingLabelTranslation newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\PricingLabels\Models\PricingLabelTranslation newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Komma\PricingLabels\Models\PricingLabelTranslation query()
 */
class PricingLabelTranslation extends AbstractTranslationModel
{
    protected $table = 'pricing_label_translations';

    protected $guarded = ['id'];

    public function translatable():BelongsTo
    {
        return $this->belongsTo(PricingLabel::class, 'pricing_label_id');
    }
}