17900bd4e25100a4c2635cf3fb9427eb8b81420a
[kivitendo-erp.git] / SL / DB / MetaSetup / CsvImportProfileSetting.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::CsvImportProfileSetting;
4
5 use strict;
6
7 use base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->table('csv_import_profile_settings');
10
11 __PACKAGE__->meta->columns(
12   id                    => { type => 'serial', not_null => 1 },
13   csv_import_profile_id => { type => 'integer', not_null => 1 },
14   key                   => { type => 'text', not_null => 1 },
15   value                 => { type => 'text' },
16 );
17
18 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
19
20 __PACKAGE__->meta->unique_keys([ 'csv_import_profile_id', 'key' ]);
21
22 __PACKAGE__->meta->foreign_keys(
23   csv_import_profile => {
24     class       => 'SL::DB::CsvImportProfile',
25     key_columns => { csv_import_profile_id => 'id' },
26   },
27 );
28
29 # __PACKAGE__->meta->initialize;
30
31 1;
32 ;