浏览代码

fixed model name

tags/0.1.0
Robin Thoni 9 年前
父节点
当前提交
98f46ff307
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/Generator/LuGenerator.php

+ 1
- 1
src/Generator/LuGenerator.php 查看文件

@@ -240,7 +240,7 @@ ORDER BY parameters.ordinal_position;");
240 240
                     continue;
241 241
                 $columns = $this->sqlTypesToPhpTypes($columns);
242 242
                 $baseName = $this->snakeToCamelCase($table_name, true);
243
-                $modelName = $baseName . "Model";
243
+                $modelName = $baseName;
244 244
                 $dboName = $baseName . "Dbo";
245 245
                 $dataAccessName = $baseName . "DataAccess";
246 246
                 $businessName = $baseName . "Business";

正在加载...
取消
保存