Files
backend/app/Model/AppAdminMenu.php
2025-06-18 10:31:43 +08:00

38 lines
844 B
PHP
Executable File

<?php
declare(strict_types=1);
namespace App\Model;
/**
* @property int $id
* @property string $title
* @property string $icon
* @property string $key
* @property int $pid
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property string $href
* @property int $type
* @property int $weight
*/
class AppAdminMenu extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'app_admin_menus';
/**
* The attributes that are mass assignable.
*/
protected array $fillable = [];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['id' => 'integer', 'pid' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', 'type' => 'integer', 'weight' => 'integer'];
}