snipe-it/app/Models/SavedReport.php

27 lines
419 B
PHP
Raw Normal View History

2023-08-23 16:32:19 -07:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class SavedReport extends Model
{
use HasFactory;
2023-08-24 11:32:37 -07:00
/**
* The attributes that should be cast.
*
* @var array
*/
protected $casts = [
'options' => 'array',
];
2023-08-28 16:26:31 -07:00
protected $fillable = [
'user_id',
'name',
'options',
];
2023-08-23 16:32:19 -07:00
}