osb/app/Models/ProductTranslate.php

17 lines
275 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ProductTranslate extends Model
{
protected $table = 'ab_product_translate';
public $timestamps = FALSE;
public function getDescriptionFullAttribute($value)
{
return unserialize($value);
}
}