c3lf-system-3/app/Container.php

27 lines
465 B
PHP
Raw Normal View History

2019-11-15 22:15:58 +01:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
2019-11-29 00:53:59 +01:00
use Illuminate\Database\Eloquent\SoftDeletes;
2019-11-15 22:15:58 +01:00
class Container extends Model
{
2019-11-29 00:53:59 +01:00
use SoftDeletes;
2019-11-15 22:15:58 +01:00
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
2019-11-28 04:52:53 +01:00
'cid', 'name'
2019-11-15 22:15:58 +01:00
];
/**
* The attributes excluded from the model's JSON form.
*
* @var array
*/
2019-12-01 18:37:11 +01:00
protected $hidden = ['created_at','updated_at'];
2019-11-28 04:52:53 +01:00
}