1 package OpenILS::Application::Storage::CDBI::actor;
4 #-------------------------------------------------------------------------------
6 use base qw/OpenILS::Application::Storage::CDBI/;
7 #-------------------------------------------------------------------------------
11 __PACKAGE__->table( 'actor_usr' );
12 __PACKAGE__->columns( Primary => qw/id/ );
13 __PACKAGE__->columns( Others => qw/id usrid usrname email prefix first_given_name
14 second_given_name family_name suffix address
15 home_ou gender dob active master_account
16 super_user usrgroup passwd last_xact_id/ );
18 #-------------------------------------------------------------------------------
19 package actor::org_unit_type;
22 __PACKAGE__->table( 'actor_org_unit_type' );
23 __PACKAGE__->columns( Primary => qw/id/);
24 __PACKAGE__->columns( Others => qw/name depth parent can_have_users/);
26 #-------------------------------------------------------------------------------
27 package actor::org_unit;
30 __PACKAGE__->table( 'actor_org_unit' );
31 __PACKAGE__->columns( Primary => qw/id/);
32 __PACKAGE__->columns( Others => qw/parent_ou ou_type address shortname name/);
34 #-------------------------------------------------------------------------------
35 package actor::stat_cat;
38 __PACKAGE__->table( 'actor_stat_cat' );
39 __PACKAGE__->columns( Primary => qw/id/ );
40 __PACKAGE__->columns( Others => qw/owner name opac_visible/ );
42 #-------------------------------------------------------------------------------
43 package actor::stat_cat_entry;
46 __PACKAGE__->table( 'actor_stat_cat_entry' );
47 __PACKAGE__->columns( Primary => qw/id/ );
48 __PACKAGE__->columns( Others => qw/owner value/ );
50 #-------------------------------------------------------------------------------
51 package actor::stat_cat_entry_user_map;
54 __PACKAGE__->table( 'actor_stat_cat_entry_usr_map' );
55 __PACKAGE__->columns( Primary => qw/id/ );
56 __PACKAGE__->columns( Others => qw/stat_cat_entry target_user/ );
58 #-------------------------------------------------------------------------------
62 __PACKAGE__->table( 'actor_card' );
63 __PACKAGE__->columns( Primary => qw/id/ );
64 __PACKAGE__->columns( Others => qw/usr barcode active/ );
66 #-------------------------------------------------------------------------------
67 package actor::user_access_entry;
69 #-------------------------------------------------------------------------------
70 package actor::perm_group;
72 #-------------------------------------------------------------------------------
73 package actor::permission;
75 #-------------------------------------------------------------------------------
76 package actor::perm_group_permission_map;
78 #-------------------------------------------------------------------------------
79 package actor::perm_group_user_map;
81 #-------------------------------------------------------------------------------
82 package actor::user_address;
84 #-------------------------------------------------------------------------------