add file model
This commit is contained in:
parent
53037d26af
commit
acf701da70
10 changed files with 96 additions and 9 deletions
|
@ -3,17 +3,19 @@
|
|||
namespace App;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class Item extends Model
|
||||
{
|
||||
|
||||
use SoftDeletes;
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'iid', 'bezeichnung', 'wann', 'wo', 'eid', 'cid'
|
||||
'iid', 'item_uid', 'bezeichnung', 'wann', 'wo', 'eid', 'cid'
|
||||
];
|
||||
|
||||
/**
|
||||
|
@ -22,4 +24,4 @@ class Item extends Model
|
|||
* @var array
|
||||
*/
|
||||
protected $hidden = [];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue