fixed:模型生成数据库字段注释标记错误

This commit is contained in:
JaguarJack 2020-12-01 17:58:53 +08:00
parent 35445f37e1
commit c0f05fcf8f

View File

@ -90,7 +90,7 @@ class Model extends Factory
$class->addProperty(
(new Property('field'))->default(
(new Arr)->build(Db::getFields($table))
))->docComment('// 数据库字段映射');
)->docComment('// 数据库字段映射'));
});
})->getContent();