FEATURE: add database models

This commit is contained in:
Michal Kváček
2016-01-20 20:08:39 +01:00
parent d08c7ab744
commit 2b4bc0f5f5
19 changed files with 431 additions and 34 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Class Widget
*/
class Widget extends Model
{
public $timestamps = true;
protected $fillable = [
'widget_type_handler',
'user_id',
'name',
'settings',
'description'
];
protected $guarded = [];
}