osb/app/Models/ProductTranslate.php

15 lines
245 B
PHP

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