Rose-Models für Mandantentabellen
[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
10 # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
11 __PACKAGE__->meta->schema('auth');
12
13 __PACKAGE__->meta->make_manager_class;
14
15 __PACKAGE__->meta->add_relationship(
16   users => {
17     type      => 'many to many',
18     map_class => 'SL::DB::AuthUserGroup',
19     map_from  => 'client',
20     map_to    => 'user',
21   },
22   groups => {
23     type      => 'many to many',
24     map_class => 'SL::DB::AuthUserGroup',
25     map_from  => 'client',
26     map_to    => 'group',
27   },
28 );
29
30 __PACKAGE__->meta->initialize;
31
32 1;