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
+33
View File
@@ -0,0 +1,33 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Class Content
*/
class Content extends Model
{
public $timestamps = true;
protected $fillable = [
'user_id',
'module_handler',
'title_photo',
'title',
'url',
'meta_keywords',
'meta_description',
'module_settings',
'content',
'published_from',
'published_to',
'status'
];
protected $guarded = [];
}