cde5a320d1ee631d9ca5c4cd14e730c972f03380
[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->setup(
10   table   => 'shipto',
11
12   columns => [
13     trans_id           => { type => 'integer' },
14     shiptoname         => { type => 'varchar', length => 75 },
15     shiptodepartment_1 => { type => 'varchar', length => 75 },
16     shiptodepartment_2 => { type => 'varchar', length => 75 },
17     shiptostreet       => { type => 'varchar', length => 75 },
18     shiptozipcode      => { type => 'varchar', length => 75 },
19     shiptocity         => { type => 'varchar', length => 75 },
20     shiptocountry      => { type => 'varchar', length => 75 },
21     shiptocontact      => { type => 'varchar', length => 75 },
22     shiptophone        => { type => 'varchar', length => 30 },
23     shiptofax          => { type => 'varchar', length => 30 },
24     shiptoemail        => { type => 'text' },
25     itime              => { type => 'timestamp', default => 'now()' },
26     mtime              => { type => 'timestamp' },
27     module             => { type => 'text' },
28     shipto_id          => { type => 'integer', not_null => 1, sequence => 'id' },
29     shiptocp_gender    => { type => 'text' },
30   ],
31
32   primary_key_columns => [ 'shipto_id' ],
33
34   allow_inline_column_values => 1,
35 );
36
37 1;
38 ;