package OpenILS::Application::Storage::CDBI::permission;
our $VERSION = 1;

#-------------------------------------------------------------------------------
package permission;
use base qw/OpenILS::Application::Storage::CDBI/;
#-------------------------------------------------------------------------------
package permission::perm_list;
use base qw/permission/;
__PACKAGE__->table('permission_perm_list');
__PACKAGE__->columns(All => qw/id code/);
#-------------------------------------------------------------------------------
package permission::grp_tree;
use base qw/permission/;
__PACKAGE__->table('permission_grp_tree');
__PACKAGE__->columns(All => qw/id name parent/);
#-------------------------------------------------------------------------------
package permission::usr_grp_map;
use base qw/permission/;
__PACKAGE__->table('permission_usr_grp_map');
__PACKAGE__->columns(All => qw/id usr grp/);
#-------------------------------------------------------------------------------
package permission::usr_perm_map;
use base qw/permission/;
__PACKAGE__->table('permission_usr_perm_map');
__PACKAGE__->columns(All => qw/id usr perm depth/);
#-------------------------------------------------------------------------------
package permission::grp_perm_map;
use base qw/permission/;
__PACKAGE__->table('permission_grp_perm_map');
__PACKAGE__->columns(All => qw/id grp perm depth/);
#-------------------------------------------------------------------------------
1;

