1 # This file has been auto-generated. Do not modify it; it will be overwritten
2 # by rose_auto_create_model.pl automatically.
3 package SL::DB::PaymentTerm;
7 use parent qw(SL::DB::Object);
9 __PACKAGE__->meta->table('payment_terms');
11 __PACKAGE__->meta->columns(
12 auto_calculation => { type => 'boolean', not_null => 1 },
13 description => { type => 'text' },
14 description_long => { type => 'text' },
15 description_long_invoice => { type => 'text' },
16 id => { type => 'integer', not_null => 1, sequence => 'id' },
17 itime => { type => 'timestamp', default => 'now()' },
18 mtime => { type => 'timestamp' },
19 obsolete => { type => 'boolean', default => 'false' },
20 percent_skonto => { type => 'float', scale => 4 },
21 ranking => { type => 'integer' },
22 sortkey => { type => 'integer', not_null => 1 },
23 terms_netto => { type => 'integer' },
24 terms_skonto => { type => 'integer' },
27 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
29 __PACKAGE__->meta->allow_inline_column_values(1);