You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.5 KiB
56 lines
1.5 KiB
2 years ago
|
<?php
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
|
use Backpack\CRUD\app\Models\Traits\CrudTrait;
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class Menu extends Model
|
||
|
{
|
||
|
use CrudTrait;
|
||
|
|
||
|
/*
|
||
|
|--------------------------------------------------------------------------
|
||
|
| GLOBAL VARIABLES
|
||
|
|--------------------------------------------------------------------------
|
||
|
*/
|
||
|
|
||
|
protected $table = 'menus';
|
||
|
// protected $primaryKey = 'id';
|
||
|
// public $timestamps = false;
|
||
|
protected $guarded = ['id'];
|
||
|
// protected $fillable = [];
|
||
|
// protected $hidden = [];
|
||
|
// protected $dates = [];
|
||
|
|
||
|
/*
|
||
|
|--------------------------------------------------------------------------
|
||
|
| FUNCTIONS
|
||
|
|--------------------------------------------------------------------------
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
|--------------------------------------------------------------------------
|
||
|
| RELATIONS
|
||
|
|--------------------------------------------------------------------------
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
|--------------------------------------------------------------------------
|
||
|
| SCOPES
|
||
|
|--------------------------------------------------------------------------
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
|--------------------------------------------------------------------------
|
||
|
| ACCESSORS
|
||
|
|--------------------------------------------------------------------------
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
|--------------------------------------------------------------------------
|
||
|
| MUTATORS
|
||
|
|--------------------------------------------------------------------------
|
||
|
*/
|
||
|
}
|