30 lines
503 B
PHP
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',
|
|
];
|
|
}
|