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