ok

Mini Shell

Direktori : /home2/selectio/public_html/limpiar.in.net/install/app/Models/
Upload File :
Current File : //home2/selectio/public_html/limpiar.in.net/install/app/Models/ProductTranslation.php

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ProductTranslation extends Model
{
    protected $fillable = ['product_id', 'name', 'unit', 'description', 'lang'];

    public function product(){
      return $this->belongsTo(Product::class);
    }
}

Zerion Mini Shell 1.0