Akaunting/app/Models/Common/Report.php

27 lines
473 B
PHP
Raw Normal View History

2019-11-16 07:21:14 +00:00
<?php
namespace App\Models\Common;
use App\Abstracts\Model;
class Report extends Model
{
protected $table = 'reports';
/**
* Attributes that should be mass-assignable.
*
* @var array
*/
2020-01-16 12:39:37 +00:00
protected $fillable = ['company_id', 'class', 'name', 'description', 'settings'];
/**
* The attributes that should be casted to native types.
*
* @var array
*/
protected $casts = [
'settings' => 'object',
];
2019-11-16 07:21:14 +00:00
}