Browse Source

fixed model name

tags/0.1.0
Robin Thoni 9 years ago
parent
commit
98f46ff307
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Generator/LuGenerator.php

+ 1
- 1
src/Generator/LuGenerator.php View File

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

Loading…
Cancel
Save