3 * Table Definition for emp
5 require_once 'DB/DataObject.php';
7 class Pman_Xtuple_DataObjects_Emp extends DB_DataObject
10 /* the code below is auto generated do not remove the above tag */
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
35 * Getter / Setter for $emp_cntct_id
37 * @param mixed (optional) value to assign
40 public function cntct() {
41 return func_num_args() ? $this->link('emp_cntct_id', func_get_arg(0)) : $this->link('emp_cntct_id');
45 * Getter / Setter for $emp_dept_id
47 * @param mixed (optional) value to assign
50 public function dept() {
51 return func_num_args() ? $this->link('emp_dept_id', func_get_arg(0)) : $this->link('emp_dept_id');
55 * Getter / Setter for $emp_image_id
57 * @param mixed (optional) value to assign
60 public function image() {
61 return func_num_args() ? $this->link('emp_image_id', func_get_arg(0)) : $this->link('emp_image_id');
65 * Getter / Setter for $emp_mgr_emp_id
67 * @param mixed (optional) value to assign
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');
75 * Getter / Setter for $emp_shift_id
77 * @param mixed (optional) value to assign
80 public function shift() {
81 return func_num_args() ? $this->link('emp_shift_id', func_get_arg(0)) : $this->link('emp_shift_id');
85 * Getter / Setter for $emp_wage_curr_id
87 * @param mixed (optional) value to assign
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');
95 * Getter / Setter for $emp_warehous_id
97 * @param mixed (optional) value to assign
100 public function warehous() {
101 return func_num_args() ? $this->link('emp_warehous_id', func_get_arg(0)) : $this->link('emp_warehous_id');
105 /* the code above is auto generated do not remove the tag below */