876474e846a6e6d0ab2299fbcbe4a4c762c5188c
[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', precision => 4, scale => 4 },
21   sortkey                  => { type => 'integer', not_null => 1 },
22   terms_netto              => { type => 'integer' },
23   terms_skonto             => { type => 'integer' },
24 );
25
26 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
27
28 __PACKAGE__->meta->allow_inline_column_values(1);
29
30 1;
31 ;