use parent statt use base in MetaSetup
[kivitendo-erp.git] / SL / DB / MetaSetup / RequirementSpecPredefinedText.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::RequirementSpecPredefinedText;
4
5 use strict;
6
7 use parent qw(SL::DB::Object);
8
9 __PACKAGE__->meta->table('requirement_spec_predefined_texts');
10
11 __PACKAGE__->meta->columns(
12   description             => { type => 'text', not_null => 1 },
13   id                      => { type => 'serial', not_null => 1 },
14   itime                   => { type => 'timestamp', default => 'now()' },
15   mtime                   => { type => 'timestamp' },
16   position                => { type => 'integer', not_null => 1 },
17   text                    => { type => 'text', not_null => 1 },
18   title                   => { type => 'text', not_null => 1 },
19   useable_for_sections    => { type => 'boolean', default => 'false', not_null => 1 },
20   useable_for_text_blocks => { type => 'boolean', default => 'false', not_null => 1 },
21 );
22
23 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
24
25 __PACKAGE__->meta->unique_keys([ 'description' ]);
26
27 __PACKAGE__->meta->allow_inline_column_values(1);
28
29 1;
30 ;