DataObjects/Core_locking.php
[Pman.Core] / DataObjects / Core_locking.php
1 <?php
2 /**
3  * Table Definition for core company
4  */
5 require_once 'DB/DataObject.php';
6
7 class Pman_Core_DataObjects_Core_locking extends DB_DataObject 
8 {
9     ###START_AUTOCODE
10     /* the code below is auto generated do not remove the above tag */
11
12     public $__table = 'core_locking';                    // table name
13     public $int;                             // int(11)  not_null primary_key auto_increment
14     public $on_table;                        // string(64)  not_null multiple_key
15     public $on_id;                           // int(11)  not_null
16     public $person_id;                       // int(11)  not_null
17     public $created;                         // datetime(19)  not_null binary
18
19     
20     /* the code above is auto generated do not remove the tag below */
21     ###END_AUTOCODE
22     function person() {
23         $p = DB_DataObjecT::factory('Person');
24         $p->get($this->person_id);
25         return $p;
26     }
27 }