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::AdditionalBillingAddress;
7 use parent qw(SL::DB::Object);
9 __PACKAGE__->meta->table('additional_billing_addresses');
11 __PACKAGE__->meta->columns(
12 city => { type => 'text' },
13 contact => { type => 'text' },
14 country => { type => 'text' },
15 customer_id => { type => 'integer' },
16 default_address => { type => 'boolean', default => 'false', not_null => 1 },
17 department_1 => { type => 'text' },
18 department_2 => { type => 'text' },
19 dunning_mail => { type => 'text' },
20 email => { type => 'text' },
21 fax => { type => 'text' },
22 gln => { type => 'text' },
23 id => { type => 'serial', not_null => 1 },
24 itime => { type => 'timestamp', default => 'now()', not_null => 1 },
25 mtime => { type => 'timestamp', default => 'now()', not_null => 1 },
26 name => { type => 'text' },
27 phone => { type => 'text' },
28 street => { type => 'text' },
29 zipcode => { type => 'text' },
32 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
34 __PACKAGE__->meta->allow_inline_column_values(1);
36 __PACKAGE__->meta->foreign_keys(
38 class => 'SL::DB::Customer',
39 key_columns => { customer_id => 'id' },