Volltext-Suche: Tabelle für Texte aus Dateien im DMS. DB und Rose
[kivitendo-erp.git] / SL / DB / MetaSetup / RequirementSpecTextBlock.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::RequirementSpecTextBlock;
4
5 use strict;
6
7 use parent qw(SL::DB::Object);
8
9 __PACKAGE__->meta->table('requirement_spec_text_blocks');
10
11 __PACKAGE__->meta->columns(
12   id                  => { type => 'serial', not_null => 1 },
13   is_flagged          => { type => 'boolean', default => 'false', not_null => 1 },
14   itime               => { type => 'timestamp', default => 'now()', not_null => 1 },
15   mtime               => { type => 'timestamp' },
16   output_position     => { type => 'integer', default => 1, not_null => 1 },
17   position            => { type => 'integer', not_null => 1 },
18   requirement_spec_id => { type => 'integer', not_null => 1 },
19   text                => { type => 'text' },
20   title               => { type => 'text', not_null => 1 },
21 );
22
23 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
24
25 __PACKAGE__->meta->allow_inline_column_values(1);
26
27 __PACKAGE__->meta->foreign_keys(
28   requirement_spec => {
29     class       => 'SL::DB::RequirementSpec',
30     key_columns => { requirement_spec_id => 'id' },
31   },
32 );
33
34 1;
35 ;