]> wagnertech.de Git - mfinanz.git/blob - SL/DB/MetaSetup/Chart.pm
kivitendo 3.9.2-0.2
[mfinanz.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   invalid        => { type => 'boolean', default => 'false' },
19   itime          => { type => 'timestamp', default => 'now()' },
20   link           => { type => 'text', not_null => 1 },
21   mtime          => { type => 'timestamp' },
22   new_chart_id   => { type => 'integer' },
23   pos_bilanz     => { type => 'integer' },
24   pos_bwa        => { type => 'integer' },
25   pos_er         => { type => 'integer' },
26   pos_eur        => { type => 'integer' },
27   taxkey_id      => { type => 'integer' },
28   valid_from     => { type => 'date' },
29 );
30
31 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
32
33 __PACKAGE__->meta->unique_keys([ 'accno' ]);
34
35 __PACKAGE__->meta->allow_inline_column_values(1);
36
37 1;
38 ;