This commit is contained in:
Aether
2025-09-28 15:57:07 +08:00
parent 10b58a8c6d
commit 7bccb0e9fe
3 changed files with 110 additions and 40 deletions

View File

@@ -51,6 +51,12 @@ class Campus extends AetherModel
'deleted_at' => 'datetime',
];
protected array $search = [
'parent_id' => '=',
];
protected array|bool|string $sortable = false;
/**
* 获取父级校区.
* @return BelongsTo