bc0587e7ce39c721a616fd8413c5b34e49267499
[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   id               => { type => 'integer', not_null => 1, sequence => 'id' },
16   itime            => { type => 'timestamp', default => 'now()' },
17   mtime            => { type => 'timestamp' },
18   percent_skonto   => { type => 'float', scale => 4 },
19   ranking          => { type => 'integer' },
20   sortkey          => { type => 'integer', not_null => 1 },
21   terms_netto      => { type => 'integer' },
22   terms_skonto     => { type => 'integer' },
23 );
24
25 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
26
27 __PACKAGE__->meta->allow_inline_column_values(1);
28
29 1;
30 ;