瀏覽代碼

fixed model name

tags/0.1.0
Robin Thoni 8 年之前
父節點
當前提交
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";

Loading…
取消
儲存