3 * Table Definition for taxrate
5 require_once 'DB/DataObject.php';
7 class Pman_Xtuple_DataObjects_Taxrate extends DB_DataObject
10 /* the code below is auto generated do not remove the above tag */
12 public $__table = 'taxrate'; // table name
13 public $taxrate_id; // int4(4) not_null default_nextval%28taxrate_taxrate_id_seq%29 primary_key
14 public $taxrate_tax_id; // int4(4) not_null
15 public $taxrate_percent; // numeric(-1) not_null
16 public $taxrate_curr_id; // int4(4)
17 public $taxrate_amount; // numeric(-1) not_null
18 public $taxrate_effective; // date(4)
19 public $taxrate_expires; // date(4)
23 * Getter / Setter for $taxrate_curr_id
25 * @param mixed (optional) value to assign
28 public function curr() {
29 return func_num_args() ? $this->link('taxrate_curr_id', func_get_arg(0)) : $this->link('taxrate_curr_id');
33 * Getter / Setter for $taxrate_tax_id
35 * @param mixed (optional) value to assign
38 public function tax() {
39 return func_num_args() ? $this->link('taxrate_tax_id', func_get_arg(0)) : $this->link('taxrate_tax_id');
43 /* the code above is auto generated do not remove the tag below */