👁 View: Translation.php
Path: /home/thiqat5/tmphone.thiqatech.com/tm/app/Model/Translation.php
Size: 375 B · Modified: 2021-11-17 23:00:14 · Perm: 0644 · Writable
<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Translation extends Model
{
    public $timestamps = false; 
    
    protected $fillable = [
        'translationable_type',
        'translationable_id',
        'locale',
        'key',
        'value',
    ];

    public function translationable()
    {
        return $this->morphTo();
    }
}