RDBO: Setups der Auth*-Instanzen vereinheitlicht
[kivitendo-erp.git] / SL / DB / AuthClient.pm
1 package SL::DB::AuthClient;
2
3 use strict;
4
5 use SL::DB::MetaSetup::AuthClient;
6 use SL::DB::Manager::AuthClient;
7
8 __PACKAGE__->meta->add_relationship(
9   users => {
10     type      => 'many to many',
11     map_class => 'SL::DB::AuthClientUser',
12     map_from  => 'client',
13     map_to    => 'user',
14   },
15   groups => {
16     type      => 'many to many',
17     map_class => 'SL::DB::AuthClientGroup',
18     map_from  => 'client',
19     map_to    => 'group',
20   },
21 );
22
23 __PACKAGE__->meta->initialize;
24
25 1;