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
+24
View File
@@ -0,0 +1,24 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Class WidgetInWidgetArea
*/
class WidgetInWidgetArea extends Model
{
public $timestamps = false;
protected $fillable = [
'widget_id',
'widget_area_id',
'position'
];
protected $guarded = [];
}