Fix #7123 - getting abra ready to test
[Pman.Xtuple] / DataObjects / Emp.php
1 <?php
2 /**
3  * Table Definition for emp
4  */
5 require_once 'DB/DataObject.php';
6
7 class Pman_Xtuple_DataObjects_Emp extends DB_DataObject 
8 {
9     ###START_AUTOCODE
10     /* the code below is auto generated do not remove the above tag */
11
12     public $__table = 'emp';                 // table name
13     public $emp_id;                          // int4(4)  not_null default_nextval%28emp_emp_id_seq%29 primary_key
14     public $emp_code;                        // text(-1)  not_null unique_key
15     public $emp_number;                      // text(-1)  not_null unique_key
16     public $emp_active;                      // bool(1)  not_null default_true
17     public $emp_cntct_id;                    // int4(4)  
18     public $emp_warehous_id;                 // int4(4)  
19     public $emp_mgr_emp_id;                  // int4(4)  
20     public $emp_wage_type;                   // text(-1)  not_null
21     public $emp_wage;                        // numeric(-1)  
22     public $emp_wage_curr_id;                // int4(4)  default_basecurrid%28%29
23     public $emp_wage_period;                 // text(-1)  not_null
24     public $emp_dept_id;                     // int4(4)  
25     public $emp_shift_id;                    // int4(4)  
26     public $emp_notes;                       // text(-1)  
27     public $emp_image_id;                    // int4(4)  
28     public $emp_username;                    // text(-1)  
29     public $emp_extrate;                     // numeric(-1)  
30     public $emp_extrate_period;              // text(-1)  not_null
31     public $emp_startdate;                   // date(4)  default_%28now%29%3A%3Adate
32
33     
34    /**
35     * Getter / Setter for $emp_cntct_id
36     *
37     * @param    mixed   (optional) value to assign
38     * @access   public
39     */
40     public function cntct() {
41         return func_num_args() ? $this->link('emp_cntct_id', func_get_arg(0)) : $this->link('emp_cntct_id');
42     }
43
44    /**
45     * Getter / Setter for $emp_dept_id
46     *
47     * @param    mixed   (optional) value to assign
48     * @access   public
49     */
50     public function dept() {
51         return func_num_args() ? $this->link('emp_dept_id', func_get_arg(0)) : $this->link('emp_dept_id');
52     }
53
54    /**
55     * Getter / Setter for $emp_image_id
56     *
57     * @param    mixed   (optional) value to assign
58     * @access   public
59     */
60     public function image() {
61         return func_num_args() ? $this->link('emp_image_id', func_get_arg(0)) : $this->link('emp_image_id');
62     }
63
64    /**
65     * Getter / Setter for $emp_mgr_emp_id
66     *
67     * @param    mixed   (optional) value to assign
68     * @access   public
69     */
70     public function mgr_emp() {
71         return func_num_args() ? $this->link('emp_mgr_emp_id', func_get_arg(0)) : $this->link('emp_mgr_emp_id');
72     }
73
74    /**
75     * Getter / Setter for $emp_shift_id
76     *
77     * @param    mixed   (optional) value to assign
78     * @access   public
79     */
80     public function shift() {
81         return func_num_args() ? $this->link('emp_shift_id', func_get_arg(0)) : $this->link('emp_shift_id');
82     }
83
84    /**
85     * Getter / Setter for $emp_wage_curr_id
86     *
87     * @param    mixed   (optional) value to assign
88     * @access   public
89     */
90     public function wage_curr() {
91         return func_num_args() ? $this->link('emp_wage_curr_id', func_get_arg(0)) : $this->link('emp_wage_curr_id');
92     }
93
94    /**
95     * Getter / Setter for $emp_warehous_id
96     *
97     * @param    mixed   (optional) value to assign
98     * @access   public
99     */
100     public function warehous() {
101         return func_num_args() ? $this->link('emp_warehous_id', func_get_arg(0)) : $this->link('emp_warehous_id');
102     }
103
104
105     /* the code above is auto generated do not remove the tag below */
106     ###END_AUTOCODE
107 }