report fields

This commit is contained in:
denisdulici
2020-01-16 15:39:37 +03:00
parent 7d3c7619d1
commit 893970ffae
23 changed files with 233 additions and 230 deletions

View File

@ -6,7 +6,6 @@ use App\Abstracts\Model;
class Report extends Model
{
protected $table = 'reports';
/**
@ -14,5 +13,14 @@ class Report extends Model
*
* @var array
*/
protected $fillable = ['company_id', 'name', 'description', 'class', 'group', 'period', 'basis', 'chart'];
protected $fillable = ['company_id', 'class', 'name', 'description', 'settings'];
/**
* The attributes that should be casted to native types.
*
* @var array
*/
protected $casts = [
'settings' => 'object',
];
}