2026-11-09 16:46:35 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
|
|
class Navigation extends Model
|
|
|
|
|
{
|
|
|
|
|
protected $fillable = ['group_name', 'title', 'link', 'sort', 'status'];
|
|
|
|
|
|
|
|
|
|
protected function casts(): array
|
|
|
|
|
{
|
|
|
|
|
return ['sort' => 'integer'];
|
|
|
|
|
}
|
|
|
|
|
}
|