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 email => { type => 'text' },
20 fax => { type => 'text' },
21 gln => { type => 'text' },
22 id => { type => 'serial', not_null => 1 },
23 itime => { type => 'timestamp', default => 'now()', not_null => 1 },
24 mtime => { type => 'timestamp', default => 'now()', not_null => 1 },
25 name => { type => 'text' },
26 phone => { type => 'text' },
27 street => { type => 'text' },
28 zipcode => { type => 'text' },
31 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
33 __PACKAGE__->meta->allow_inline_column_values(1);
35 __PACKAGE__->meta->foreign_keys(
37 class => 'SL::DB::Customer',
38 key_columns => { customer_id => 'id' },