X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3ced230d576cb0eff6f8b7805f1682c14e009ef9..bfe3243c4cdeacea07e53d6365bc384dfd0e6b4d:/SL/DB/AuthClient.pm diff --git a/SL/DB/AuthClient.pm b/SL/DB/AuthClient.pm index 5291da209..bf016a646 100644 --- a/SL/DB/AuthClient.pm +++ b/SL/DB/AuthClient.pm @@ -1,27 +1,20 @@ -# 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::AuthClient; use strict; use SL::DB::MetaSetup::AuthClient; - -# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. -__PACKAGE__->meta->schema('auth'); - -__PACKAGE__->meta->make_manager_class; +use SL::DB::Manager::AuthClient; __PACKAGE__->meta->add_relationship( users => { type => 'many to many', - map_class => 'SL::DB::AuthUserGroup', + map_class => 'SL::DB::AuthClientUser', map_from => 'client', map_to => 'user', }, groups => { type => 'many to many', - map_class => 'SL::DB::AuthUserGroup', + map_class => 'SL::DB::AuthClientGroup', map_from => 'client', map_to => 'group', },