Revision 14d07f37
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/DB/InvoiceItem.pm | ||
---|---|---|
15 | 15 |
class => 'SL::DB::PriceFactor', |
16 | 16 |
column_map => { price_factor_id => 'id' }, |
17 | 17 |
}, |
18 |
unit_obj => { |
|
19 |
type => 'one to one', |
|
20 |
class => 'SL::DB::Unit', |
|
21 |
column_map => { unit => 'name' }, |
|
22 |
}, |
|
18 | 23 |
); |
19 | 24 |
|
20 | 25 |
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. |
SL/DB/OrderItem.pm | ||
---|---|---|
15 | 15 |
class => 'SL::DB::PriceFactor', |
16 | 16 |
column_map => { price_factor_id => 'id' }, |
17 | 17 |
}, |
18 |
unit_obj => { |
|
19 |
type => 'one to one', |
|
20 |
class => 'SL::DB::Unit', |
|
21 |
column_map => { unit => 'name' }, |
|
22 |
}, |
|
18 | 23 |
); |
19 | 24 |
|
20 | 25 |
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. |
Auch abrufbar als: Unified diff
Verknüpfungen zum Unit-Model