c3lf-system-3/app/Item.php

31 lines
567 B
PHP

<?php
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', 'item_uid', 'description', 'wann', 'wo', 'eid', 'cid'
];
protected $primaryKey = 'iid';
/**
* The attributes excluded from the model's JSON form.
*
* @var array
*/
protected $hidden = ['created_at','updated_at', 'deleted_at', 'eid'];
}