41 lines
959 B
PHP
41 lines
959 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Model;
|
|
|
|
/**
|
|
* @property int $menu_id
|
|
* @property int $pid
|
|
* @property string $title
|
|
* @property int $account_type
|
|
* @property int $type
|
|
* @property string $method
|
|
* @property string $flag
|
|
* @property string $name
|
|
* @property string $path
|
|
* @property string $icon
|
|
* @property int $rank
|
|
* @property int $hidden
|
|
* @property string $create_time
|
|
* @property string $update_time
|
|
* @property string $deleted_at
|
|
*/
|
|
class Menu extends Model
|
|
{
|
|
/**
|
|
* The table associated with the model.
|
|
*/
|
|
protected ?string $table = 'menu';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected array $fillable = [];
|
|
|
|
/**
|
|
* The attributes that should be cast to native types.
|
|
*/
|
|
protected array $casts = ['menu_id' => 'integer', 'pid' => 'integer', 'account_type' => 'integer', 'type' => 'integer', 'rank' => 'integer', 'hidden' => 'integer'];
|
|
}
|