Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / SL / DB / MetaSetup / AuthClientGroup.pm
1 # This file has been auto-generated. Do not modify it; it will be overwritten
2 # by rose_auto_create_model.pl automatically.
3 package SL::DB::AuthClientGroup;
4
5 use strict;
6
7 use parent qw(SL::DB::Object);
8
9 __PACKAGE__->meta->table('clients_groups');
10 __PACKAGE__->meta->schema('auth');
11
12 __PACKAGE__->meta->columns(
13   client_id => { type => 'integer', not_null => 1 },
14   group_id  => { type => 'integer', not_null => 1 },
15 );
16
17 __PACKAGE__->meta->primary_key_columns([ 'client_id', 'group_id' ]);
18
19 __PACKAGE__->meta->foreign_keys(
20   client => {
21     class       => 'SL::DB::AuthClient',
22     key_columns => { client_id => 'id' },
23   },
24
25   group => {
26     class       => 'SL::DB::AuthGroup',
27     key_columns => { group_id => 'id' },
28   },
29 );
30
31 1;
32 ;