Revision cc54185d
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/DB/Order.pm | ||
---|---|---|
41 | 41 |
class => 'SL::DB::PaymentTerm', |
42 | 42 |
column_map => { payment_id => 'id' }, |
43 | 43 |
}, |
44 |
contact => { |
|
45 |
type => 'one to one', |
|
46 |
class => 'SL::DB::Contact', |
|
47 |
column_map => { cp_id => 'cp_id' }, |
|
48 |
}, |
|
49 |
shipto => { |
|
50 |
type => 'one to one', |
|
51 |
class => 'SL::DB::Shipto', |
|
52 |
column_map => { shipto_id => 'shipto_id' }, |
|
53 |
}, |
|
54 |
department => { |
|
55 |
type => 'one to one', |
|
56 |
class => 'SL::DB::Department', |
|
57 |
column_map => { department_id => 'id' }, |
|
58 |
}, |
|
59 |
language => { |
|
60 |
type => 'one to one', |
|
61 |
class => 'SL::DB::Language', |
|
62 |
column_map => { language_id => 'id' }, |
|
63 |
}, |
|
44 | 64 |
); |
45 | 65 |
|
46 | 66 |
__PACKAGE__->meta->initialize; |
Auch abrufbar als: Unified diff
Modelverknüpfungen