This commit is contained in:
JaguarJack 2021-05-03 10:54:37 +08:00
parent 4abed197aa
commit 8714f80716

View File

@ -106,7 +106,7 @@ class Model extends Factory
*/ */
protected function buildClassComment($table): string protected function buildClassComment($table): string
{ {
$fields = Db::name($table)->getFieldsType(); $fields = Db::name(Utils::tableWithoutPrefix($table))->getFieldsType();
$comment = '/**' . PHP_EOL . ' *' . PHP_EOL; $comment = '/**' . PHP_EOL . ' *' . PHP_EOL;