FEATURE: add database models
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user