文件还在测试中

This commit is contained in:
2026-08-08 15:53:53 +08:00
parent 5f1e7adb64
commit 8101177cb5
241 changed files with 18074 additions and 22 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
namespace App\Models;
use Core\Model;
class Page extends Model
{
protected $table = 'pages';
protected $orderBy = 'id';
public function bySlug(string $slug)
{
return $this->where('slug', $slug);
}
}