eb7647113be905b559638ca33cc6618cc7bf0c36
[kivitendo-erp.git] / SL / DB / MetaSetup / PaymentTerm.pm
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;
4
5 use strict;
6
7 use parent qw(SL::DB::Object);
8
9 __PACKAGE__->meta->table('payment_terms');
10
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' },
25 );
26
27 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
28
29 __PACKAGE__->meta->allow_inline_column_values(1);
30
31 1;
32 ;