|
@@ -15,4 +15,33 @@ Dotenv::load("..");
|
15
|
15
|
$gen = new LuGenerator(getenv("DB_CONNECTION"), getenv("DB_DATABASE"), getenv("DB_HOST"),
|
16
|
16
|
getenv("DB_PORT"), getenv("DB_USERNAME"), getenv("DB_PASSWORD"));
|
17
|
17
|
|
|
18
|
+$gen->run();
|
|
19
|
+
|
|
20
|
+$gen->setConfig(array("dbo" =>
|
|
21
|
+ array(
|
|
22
|
+ "namespace" => 'Luticate\Package\DBO',
|
|
23
|
+ "folder" => 'generated/Package/DBO'
|
|
24
|
+ ),
|
|
25
|
+ "models" =>
|
|
26
|
+ array(
|
|
27
|
+ "namespace" => 'Luticate\Package\DataAccess\Models',
|
|
28
|
+ "folder" => 'generated/Package/DataAccess/Models'
|
|
29
|
+ ),
|
|
30
|
+ "sp" =>
|
|
31
|
+ array(
|
|
32
|
+ "namespace" => 'ALuticate\Package\DataAccess\SP',
|
|
33
|
+ "folder" => 'generated/Package/DataAccess/SP'
|
|
34
|
+ ),
|
|
35
|
+ "dataaccess" =>
|
|
36
|
+ array(
|
|
37
|
+ "namespace" => 'Luticate\Package\DataAccess',
|
|
38
|
+ "folder" => 'generated/Package/DataAccess'
|
|
39
|
+ ),
|
|
40
|
+ "business" =>
|
|
41
|
+ array(
|
|
42
|
+ "namespace" => 'Luticate\Package\Business',
|
|
43
|
+ "folder" => 'generated/Package/Business'
|
|
44
|
+ ),
|
|
45
|
+ "mode" => 0777
|
|
46
|
+));
|
18
|
47
|
$gen->run();
|