2019-11-16 07:21:14 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Models\Common;
|
|
|
|
|
|
|
|
|
|
use App\Abstracts\Model;
|
2020-01-25 23:21:34 +00:00
|
|
|
use Bkwld\Cloner\Cloneable;
|
2019-11-16 07:21:14 +00:00
|
|
|
|
|
|
|
|
class Report extends Model
|
|
|
|
|
{
|
2020-01-25 23:21:34 +00:00
|
|
|
use Cloneable;
|
|
|
|
|
|
2019-11-16 07:21:14 +00:00
|
|
|
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
|
|
|
}
|