fix #8131 - chinese translations
[Pman.Core] / DataObjects / Core_locking.php
index e69de29..c720124 100644 (file)
@@ -0,0 +1,27 @@
+<?php
+/**
+ * Table Definition for core company
+ */
+class_exists('DB_DataObject') ? '' : require_once 'DB/DataObject.php';
+
+class Pman_Core_DataObjects_Core_locking extends DB_DataObject 
+{
+    ###START_AUTOCODE
+    /* the code below is auto generated do not remove the above tag */
+
+    public $__table = 'core_locking';                    // table name
+    public $id;                             // int(11)  not_null primary_key auto_increment
+    public $on_table;                        // string(64)  not_null multiple_key
+    public $on_id;                           // int(11)  not_null
+    public $person_id;                       // int(11)  not_null
+    public $created;                         // datetime(19)  not_null binary
+
+    
+    /* the code above is auto generated do not remove the tag below */
+    ###END_AUTOCODE
+    function person() {
+        $p = DB_DataObject::factory('core_person');
+        $p->get($this->person_id);
+        return $p;
+    }
+}