webman迁移-优化curd
This commit is contained in:
@@ -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%}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user