7903a3a108afc9e69fd045cee60d7800bd823cb6
[kivitendo-erp.git] / SL / DB / MetaSetup / Chart.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::Chart;
4
5 use strict;
6
7 use base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->setup(
10   table   => 'chart',
11
12   columns => [
13     id             => { type => 'integer', not_null => 1, sequence => 'id' },
14     accno          => { type => 'text', not_null => 1 },
15     description    => { type => 'text' },
16     charttype      => { type => 'character', default => 'A', length => 1 },
17     category       => { type => 'character', length => 1 },
18     link           => { type => 'text', not_null => 1 },
19     taxkey_id      => { type => 'integer' },
20     pos_bwa        => { type => 'integer' },
21     pos_bilanz     => { type => 'integer' },
22     pos_eur        => { type => 'integer' },
23     datevautomatik => { type => 'boolean', default => 'false' },
24     itime          => { type => 'timestamp', default => 'now()' },
25     mtime          => { type => 'timestamp' },
26     new_chart_id   => { type => 'integer' },
27     valid_from     => { type => 'date' },
28   ],
29
30   primary_key_columns => [ 'id' ],
31
32   unique_key => [ 'accno' ],
33
34   allow_inline_column_values => 1,
35 );
36
37 1;
38 ;