MetaSetup: Folgerun um die Foreign Keys umzudrehen
[kivitendo-erp.git] / SL / DB / MetaSetup / Shipto.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::Shipto;
4
5 use strict;
6
7 use base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->table('shipto');
10
11 __PACKAGE__->meta->columns(
12   trans_id           => { type => 'integer' },
13   shiptoname         => { type => 'varchar', length => 75 },
14   shiptodepartment_1 => { type => 'varchar', length => 75 },
15   shiptodepartment_2 => { type => 'varchar', length => 75 },
16   shiptostreet       => { type => 'varchar', length => 75 },
17   shiptozipcode      => { type => 'varchar', length => 75 },
18   shiptocity         => { type => 'varchar', length => 75 },
19   shiptocountry      => { type => 'varchar', length => 75 },
20   shiptocontact      => { type => 'varchar', length => 75 },
21   shiptophone        => { type => 'varchar', length => 30 },
22   shiptofax          => { type => 'varchar', length => 30 },
23   shiptoemail        => { type => 'text' },
24   itime              => { type => 'timestamp', default => 'now()' },
25   mtime              => { type => 'timestamp' },
26   module             => { type => 'text' },
27   shipto_id          => { type => 'integer', not_null => 1, sequence => 'id' },
28   shiptocp_gender    => { type => 'text' },
29 );
30
31 __PACKAGE__->meta->primary_key_columns([ 'shipto_id' ]);
32
33 __PACKAGE__->meta->allow_inline_column_values(1);
34
35 # __PACKAGE__->meta->initialize;
36
37 1;
38 ;