让分类、会员和示例工具共用同一账号,本地即可跑通登录与授权。 Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
272 B
PHP
16 lines
272 B
PHP
<?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'];
|
|
}
|
|
}
|