select_tag(): Funktionalität von "with_empty" wiederherstellen
[kivitendo-erp.git] / SL / DB / MetaSetup / RMA.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::RMA;
4
5 use strict;
6
7 use base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->setup(
10   table   => 'rma',
11
12   columns => [
13     id                   => { type => 'integer', not_null => 1, sequence => 'id' },
14     rmanumber            => { type => 'text', not_null => 1 },
15     transdate            => { type => 'date', default => 'now' },
16     vendor_id            => { type => 'integer' },
17     customer_id          => { type => 'integer' },
18     amount               => { type => 'numeric', precision => 5, scale => 15 },
19     netamount            => { type => 'numeric', precision => 5, scale => 15 },
20     reqdate              => { type => 'date' },
21     taxincluded          => { type => 'boolean' },
22     shippingpoint        => { type => 'text' },
23     notes                => { type => 'text' },
24     curr                 => { type => 'text' },
25     employee_id          => { type => 'integer' },
26     closed               => { type => 'boolean', default => 'false' },
27     quotation            => { type => 'boolean', default => 'false' },
28     quonumber            => { type => 'text' },
29     cusrmanumber         => { type => 'text' },
30     intnotes             => { type => 'text' },
31     delivery_customer_id => { type => 'integer' },
32     delivery_vendor_id   => { type => 'integer' },
33     language_id          => { type => 'integer' },
34     payment_id           => { type => 'integer' },
35     department_id        => { type => 'integer', default => '0' },
36     itime                => { type => 'timestamp', default => 'now()' },
37     mtime                => { type => 'timestamp' },
38     shipvia              => { type => 'text' },
39     cp_id                => { type => 'integer' },
40   ],
41
42   primary_key_columns => [ 'id' ],
43
44   allow_inline_column_values => 1,
45 );
46
47 1;
48 ;