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
+29
View File
@@ -0,0 +1,29 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Class CustomField
*/
class CustomField extends Model
{
public $timestamps = false;
protected $fillable = [
'handler',
'name',
'description',
'default_value',
'regexp',
'min_length',
'max_length',
'required'
];
protected $guarded = [];
}