7c98d2ab24a1064073fc3f72d1e449c08a58e4f6
[kivitendo-erp.git] / SL / DB / MetaSetup / AuthGroupRight.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::AuthGroupRight;
4
5 use strict;
6
7 use base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->setup(
10   table   => 'group_rights',
11   schema  => 'auth',
12
13   columns => [
14     group_id => { type => 'integer', not_null => 1 },
15     right    => { type => 'text', not_null => 1 },
16     granted  => { type => 'boolean', not_null => 1 },
17   ],
18
19   primary_key_columns => [ 'group_id', 'right' ],
20
21   foreign_keys => [
22     group => {
23       class       => 'SL::DB::AuthGroup',
24       key_columns => { group_id => 'id' },
25     },
26   ],
27 );
28
29 1;
30 ;