Fix #7123 - getting abra ready to test
[Pman.Xtuple] / DataObjects / Taxrate.php
1 <?php
2 /**
3  * Table Definition for taxrate
4  */
5 require_once 'DB/DataObject.php';
6
7 class Pman_Xtuple_DataObjects_Taxrate extends DB_DataObject 
8 {
9     ###START_AUTOCODE
10     /* the code below is auto generated do not remove the above tag */
11
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)  
20
21     
22    /**
23     * Getter / Setter for $taxrate_curr_id
24     *
25     * @param    mixed   (optional) value to assign
26     * @access   public
27     */
28     public function curr() {
29         return func_num_args() ? $this->link('taxrate_curr_id', func_get_arg(0)) : $this->link('taxrate_curr_id');
30     }
31
32    /**
33     * Getter / Setter for $taxrate_tax_id
34     *
35     * @param    mixed   (optional) value to assign
36     * @access   public
37     */
38     public function tax() {
39         return func_num_args() ? $this->link('taxrate_tax_id', func_get_arg(0)) : $this->link('taxrate_tax_id');
40     }
41
42
43     /* the code above is auto generated do not remove the tag below */
44     ###END_AUTOCODE
45 }