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 claims_returned_count
15 home_ou gender dob active master_account
16 ident_type ident_value super_user usrgroup
17 passwd card last_xact_id standing profile/ );
18 __PACKAGE__->columns( Others => qw/prefix suffix address alert_message
19 day_phone evening_phone other_phone/ );
21 #-------------------------------------------------------------------------------
22 package actor::profile;
25 __PACKAGE__->table( 'actor_profile' );
26 __PACKAGE__->columns( Primary => qw/id/);
27 __PACKAGE__->columns( Essential => qw/name/);
29 #-------------------------------------------------------------------------------
30 package actor::org_unit_type;
33 __PACKAGE__->table( 'actor_org_unit_type' );
34 __PACKAGE__->columns( Primary => qw/id/);
35 __PACKAGE__->columns( Essential => qw/name depth parent can_have_vols can_have_users/);
37 #-------------------------------------------------------------------------------
38 package actor::org_unit;
41 __PACKAGE__->table( 'actor_org_unit' );
42 __PACKAGE__->columns( Primary => qw/id/);
43 __PACKAGE__->columns( Essential => qw/parent_ou ou_type address shortname name/);
45 #-------------------------------------------------------------------------------
46 package actor::stat_cat;
49 __PACKAGE__->table( 'actor_stat_cat' );
50 __PACKAGE__->columns( Primary => qw/id/ );
51 __PACKAGE__->columns( Essential => qw/owner name opac_visible/ );
53 #-------------------------------------------------------------------------------
54 package actor::stat_cat_entry;
57 __PACKAGE__->table( 'actor_stat_cat_entry' );
58 __PACKAGE__->columns( Primary => qw/id/ );
59 __PACKAGE__->columns( Essential => qw/owner value/ );
61 #-------------------------------------------------------------------------------
62 package actor::stat_cat_entry_user_map;
65 __PACKAGE__->table( 'actor_stat_cat_entry_usr_map' );
66 __PACKAGE__->columns( Primary => qw/id/ );
67 __PACKAGE__->columns( Essential => qw/stat_cat_entry target_user/ );
69 #-------------------------------------------------------------------------------
73 __PACKAGE__->table( 'actor_card' );
74 __PACKAGE__->columns( Primary => qw/id/ );
75 __PACKAGE__->columns( Essential => qw/usr barcode active/ );
77 #-------------------------------------------------------------------------------
78 package actor::user_access_entry;
80 #-------------------------------------------------------------------------------
81 package actor::perm_group;
83 #-------------------------------------------------------------------------------
84 package actor::permission;
86 #-------------------------------------------------------------------------------
87 package actor::perm_group_permission_map;
89 #-------------------------------------------------------------------------------
90 package actor::perm_group_user_map;
92 #-------------------------------------------------------------------------------
93 package actor::user_address;
96 __PACKAGE__->table( 'actor_card' );
97 __PACKAGE__->columns( Primary => qw/id/ );
98 __PACKAGE__->columns( Essential => qw/valid address_type usr street1 street2
99 county state country post_code/ );
101 #-------------------------------------------------------------------------------
102 package actor::org_address;
105 __PACKAGE__->table( 'actor_card' );
106 __PACKAGE__->columns( Primary => qw/id/ );
107 __PACKAGE__->columns( Essential => qw/valid address_type usr street1 street2
108 county state country post_code/ );
110 #-------------------------------------------------------------------------------
111 package actor::profile;
114 __PACKAGE__->table( 'actor_card' );
115 __PACKAGE__->columns( Primary => qw/id/ );
116 __PACKAGE__->columns( Essential => qw/name/ );
118 #-------------------------------------------------------------------------------