865296e47c0009eb9751680ace2c5c9c91167f34
[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 parent qw(SL::DB::Object);
8
9 __PACKAGE__->meta->table('chart');
10
11 __PACKAGE__->meta->columns(
12   accno          => { type => 'text', not_null => 1 },
13   category       => { type => 'character', length => 1 },
14   charttype      => { type => 'character', default => 'A', length => 1 },
15   datevautomatik => { type => 'boolean', default => 'false' },
16   description    => { type => 'text' },
17   id             => { type => 'integer', not_null => 1, sequence => 'id' },
18   itime          => { type => 'timestamp', default => 'now()' },
19   link           => { type => 'text', not_null => 1 },
20   mtime          => { type => 'timestamp' },
21   new_chart_id   => { type => 'integer' },
22   pos_bilanz     => { type => 'integer' },
23   pos_bwa        => { type => 'integer' },
24   pos_eur        => { type => 'integer' },
25   taxkey_id      => { type => 'integer' },
26   valid_from     => { type => 'date' },
27 );
28
29 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
30
31 __PACKAGE__->meta->unique_keys([ 'accno' ]);
32
33 __PACKAGE__->meta->allow_inline_column_values(1);
34
35 1;
36 ;