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/shop.komma.nl/app/Servicepoints/Kms/Models/ServicepointTranslation.php
<?php
namespace App\Servicepoints\Kms\Models;

use App\Components\ComponentArea\HasComponentAreasInterface;
use App\Components\ComponentArea\HasComponentAreasTrait;
use Komma\KMS\Core\AbstractTranslationModel;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

/**
 * App\Servicepoints\Kms\Models\ServicepointTranslation
 *
 * @property int $id
 * @property int $servicepoint_id
 * @property int $language_id
 * @property string|null $first_name
 * @property string|null $last_name
 * @property string|null $function
 * @property string|null $telephone_label
 * @property string|null $telephone_url
 * @property string|null $email
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property-read \Komma\KMS\Globalization\Languages\Models\Language $language
 * @property-read \App\Servicepoints\Kms\Models\Servicepoint $translatable
 * @method static \Illuminate\Database\Eloquent\Builder|ServicepointTranslation newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|ServicepointTranslation newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|ServicepointTranslation query()
 * @method static \Illuminate\Database\Eloquent\Builder|ServicepointTranslation whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ServicepointTranslation whereEmail($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ServicepointTranslation whereFirstName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ServicepointTranslation whereFunction($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ServicepointTranslation whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ServicepointTranslation whereLanguageId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ServicepointTranslation whereLastName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ServicepointTranslation whereServicepointId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ServicepointTranslation whereTelephoneLabel($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ServicepointTranslation whereTelephoneUrl($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ServicepointTranslation whereUpdatedAt($value)
 * @mixin \Eloquent
 */
final class ServicepointTranslation extends AbstractTranslationModel
{
    protected $table = 'servicepoint_translations';

    protected $fillable = ['first_name', 'last_name', 'function', 'telephone_label', 'telephone_url', 'email'];

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