DataObjects/Core_company.php
[Pman.Core] / DataObjects / Core_office.php
index e381da5..5a7ccfd 100644 (file)
@@ -2,14 +2,14 @@
 /**
  * Table Definition for Office
  */
-require_once 'DB/DataObject.php';
+class_exists('DB_DataObject') ? '' : require_once 'DB/DataObject.php';
 
 class Pman_Core_DataObjects_Core_office extends DB_DataObject 
 {
     ###START_AUTOCODE
     /* the code below is auto generated do not remove the above tag */
 
-    public $__table = 'Office';                          // table name
+    public $__table = 'core_office';                          // table name
     public $id;                              // int(11)  not_null primary_key auto_increment
     public $company_id;                      // int(11)  not_null
     public $name;                            // string(64)  not_null