X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/89c9ff022d3f13e27ba6bda085df15707fcfb0eb..dd6282f6e20d531511ae35cadc491a8c7ab8bad5:/SL/DB/Unit.pm diff --git a/SL/DB/Unit.pm b/SL/DB/Unit.pm index 55a190b24..59740e789 100644 --- a/SL/DB/Unit.pm +++ b/SL/DB/Unit.pm @@ -1,18 +1,13 @@ -# This file has been auto-generated only because it didn't exist. -# Feel free to modify it at will; it will not be overwritten automatically. - package SL::DB::Unit; use strict; use SL::DB::MetaSetup::Unit; - -# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. -__PACKAGE__->meta->make_manager_class; +use SL::DB::Manager::Unit; __PACKAGE__->meta->add_relationships( base => { - type => 'one to one', + type => 'many to one', class => 'SL::DB::Unit', column_map => { base_unit => 'name' }, },