Revision 70ff48b4
Von Sven Schöling vor etwa 13 Jahren hinzugefügt
SL/DB/Customer.pm | ||
---|---|---|
31 | 31 |
class => 'SL::DB::Business', |
32 | 32 |
column_map => { business_id => 'id' }, |
33 | 33 |
}, |
34 |
custom_variables => { |
|
35 |
type => 'one to many', |
|
36 |
class => 'SL::DB::CustomVariable', |
|
37 |
column_map => { id => 'trans_id' }, |
|
38 |
query_args => [ config_id => [ \"(SELECT custom_variable_configs.id FROM custom_variable_configs WHERE custom_variable_configs.module = 'CT')" ] ], |
|
39 |
}, |
|
40 | 34 |
); |
41 | 35 |
|
42 | 36 |
__PACKAGE__->meta->initialize; |
Auch abrufbar als: Unified diff
custom_variables accessor wird jetzt vom mixin erstellt.