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( Essential => qw/usrid usrname email first_given_name
14 second_given_name family_name address
15 home_ou gender dob active master_account
16 ident_type ident_value super_user usrgroup
17 passwd last_xact_id/ );
18 __PACKAGE__->columns( Others => qw/prefix suffix address alert_message/ );
20 #-------------------------------------------------------------------------------
21 package actor::org_unit_type;
24 __PACKAGE__->table( 'actor_org_unit_type' );
25 __PACKAGE__->columns( Primary => qw/id/);
26 __PACKAGE__->columns( Essential => qw/name depth parent can_have_users/);
28 #-------------------------------------------------------------------------------
29 package actor::org_unit;
32 __PACKAGE__->table( 'actor_org_unit' );
33 __PACKAGE__->columns( Primary => qw/id/);
34 __PACKAGE__->columns( Essential => qw/parent_ou ou_type address shortname name/);
36 #-------------------------------------------------------------------------------
37 package actor::stat_cat;
40 __PACKAGE__->table( 'actor_stat_cat' );
41 __PACKAGE__->columns( Primary => qw/id/ );
42 __PACKAGE__->columns( Essential => qw/owner name opac_visible/ );
44 #-------------------------------------------------------------------------------
45 package actor::stat_cat_entry;
48 __PACKAGE__->table( 'actor_stat_cat_entry' );
49 __PACKAGE__->columns( Primary => qw/id/ );
50 __PACKAGE__->columns( Essential => qw/owner value/ );
52 #-------------------------------------------------------------------------------
53 package actor::stat_cat_entry_user_map;
56 __PACKAGE__->table( 'actor_stat_cat_entry_usr_map' );
57 __PACKAGE__->columns( Primary => qw/id/ );
58 __PACKAGE__->columns( Essential => qw/stat_cat_entry target_user/ );
60 #-------------------------------------------------------------------------------
64 __PACKAGE__->table( 'actor_card' );
65 __PACKAGE__->columns( Primary => qw/id/ );
66 __PACKAGE__->columns( Essential => qw/usr barcode active/ );
68 #-------------------------------------------------------------------------------
69 package actor::user_access_entry;
71 #-------------------------------------------------------------------------------
72 package actor::perm_group;
74 #-------------------------------------------------------------------------------
75 package actor::permission;
77 #-------------------------------------------------------------------------------
78 package actor::perm_group_permission_map;
80 #-------------------------------------------------------------------------------
81 package actor::perm_group_user_map;
83 #-------------------------------------------------------------------------------
84 package actor::user_address;
86 #-------------------------------------------------------------------------------