akaunting/app/Models/Common/Report.php
2020-11-13 15:15:27 +03:00

30 lines
503 B
PHP

<?php
namespace App\Models\Common;
use App\Abstracts\Model;
use Bkwld\Cloner\Cloneable;
class Report extends Model
{
use Cloneable;
protected $table = 'reports';
/**
* Attributes that should be mass-assignable.
*
* @var array
*/
protected $fillable = ['company_id', 'class', 'name', 'description', 'settings'];
/**
* The attributes that should be cast.
*
* @var array
*/
protected $casts = [
'settings' => 'object',
];
}