MetaSetup: Spalten- und Fremdschlüsselnamen alphabetisch sortieren
[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 base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->table('payment_terms');
10
11 __PACKAGE__->meta->columns(
12   description      => { type => 'text' },
13   description_long => { type => 'text' },
14   id               => { type => 'integer', not_null => 1, sequence => 'id' },
15   itime            => { type => 'timestamp', default => 'now()' },
16   mtime            => { type => 'timestamp' },
17   percent_skonto   => { type => 'float', precision => 4 },
18   ranking          => { type => 'integer' },
19   sortkey          => { type => 'integer', not_null => 1 },
20   terms_netto      => { type => 'integer' },
21   terms_skonto     => { type => 'integer' },
22 );
23
24 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
25
26 __PACKAGE__->meta->allow_inline_column_values(1);
27
28 1;
29 ;