a37c9301113aae1ce82c33b60cbc222f1d5dccd2
[kivitendo-erp.git] / SL / DB / AuthClient.pm
1 # This file has been auto-generated only because it didn't exist.
2 # Feel free to modify it at will; it will not be overwritten automatically.
3
4 package SL::DB::AuthClient;
5
6 use strict;
7
8 use SL::DB::MetaSetup::AuthClient;
9 use SL::DB::Manager::AuthClient;
10
11 # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
12 __PACKAGE__->meta->schema('auth');
13
14 __PACKAGE__->meta->add_relationship(
15   users => {
16     type      => 'many to many',
17     map_class => 'SL::DB::AuthUserGroup',
18     map_from  => 'client',
19     map_to    => 'user',
20   },
21   groups => {
22     type      => 'many to many',
23     map_class => 'SL::DB::AuthUserGroup',
24     map_from  => 'client',
25     map_to    => 'group',
26   },
27 );
28
29 __PACKAGE__->meta->initialize;
30
31 1;