webman迁移-优化curd

This commit is contained in:
2026-03-18 15:24:32 +08:00
parent e2ae55319e
commit a64d157388
4 changed files with 31 additions and 11 deletions

View File

@@ -11,10 +11,10 @@ class {%className%} extends Backend
{
/**
* {%modelName%}模型对象
* @var object
* @phpstan-var \{%modelNamespace%}\{%modelName%}
* @var object|null
* @phpstan-var \{%modelNamespace%}\{%modelName%}|null
*/
protected object $model;
protected ?object $model = null;
{%attr%}{%initialize%}
{%methods%}