2019-11-16 10:21:14 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models\Common;
|
|
|
|
|
|
|
|
use App\Abstracts\Model;
|
2020-01-26 02:21:34 +03:00
|
|
|
use Bkwld\Cloner\Cloneable;
|
2019-11-16 10:21:14 +03:00
|
|
|
|
|
|
|
class Report extends Model
|
|
|
|
{
|
2020-01-26 02:21:34 +03:00
|
|
|
use Cloneable;
|
|
|
|
|
2019-11-16 10:21:14 +03:00
|
|
|
protected $table = 'reports';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Attributes that should be mass-assignable.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
2020-01-16 15:39:37 +03:00
|
|
|
protected $fillable = ['company_id', 'class', 'name', 'description', 'settings'];
|
|
|
|
|
|
|
|
/**
|
2020-11-13 15:15:27 +03:00
|
|
|
* The attributes that should be cast.
|
2020-01-16 15:39:37 +03:00
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $casts = [
|
|
|
|
'settings' => 'object',
|
|
|
|
];
|
2019-11-16 10:21:14 +03:00
|
|
|
}
|