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 billing_address
15 claims_returned_count home_ou gender dob
16 active master_account ident_type ident_value
17 super_user usrgroup passwd card last_xact_id
18 standing profile prefix suffix alert_message
19 day_phone evening_phone other_phone mailing_address/ );
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 mailing_address billing_address
44 ill_address holds_address shortname name/);
46 #-------------------------------------------------------------------------------
47 package actor::stat_cat;
50 __PACKAGE__->table( 'actor_stat_cat' );
51 __PACKAGE__->columns( Primary => qw/id/ );
52 __PACKAGE__->columns( Essential => qw/owner name opac_visible/ );
54 #-------------------------------------------------------------------------------
55 package actor::stat_cat_entry;
58 __PACKAGE__->table( 'actor_stat_cat_entry' );
59 __PACKAGE__->columns( Primary => qw/id/ );
60 __PACKAGE__->columns( Essential => qw/owner value/ );
62 #-------------------------------------------------------------------------------
63 package actor::stat_cat_entry_user_map;
66 __PACKAGE__->table( 'actor_stat_cat_entry_usr_map' );
67 __PACKAGE__->columns( Primary => qw/id/ );
68 __PACKAGE__->columns( Essential => qw/stat_cat_entry target_user/ );
70 #-------------------------------------------------------------------------------
74 __PACKAGE__->table( 'actor_card' );
75 __PACKAGE__->columns( Primary => qw/id/ );
76 __PACKAGE__->columns( Essential => qw/usr barcode active/ );
78 #-------------------------------------------------------------------------------
79 package actor::user_access_entry;
81 #-------------------------------------------------------------------------------
82 package actor::perm_group;
84 #-------------------------------------------------------------------------------
85 package actor::permission;
87 #-------------------------------------------------------------------------------
88 package actor::perm_group_permission_map;
90 #-------------------------------------------------------------------------------
91 package actor::perm_group_user_map;
93 #-------------------------------------------------------------------------------
94 package actor::user_address;
97 __PACKAGE__->table( 'actor_card' );
98 __PACKAGE__->columns( Primary => qw/id/ );
99 __PACKAGE__->columns( Essential => qw/valid address_type usr street1 street2
100 city county state country post_code/ );
102 #-------------------------------------------------------------------------------
103 package actor::org_address;
106 __PACKAGE__->table( 'actor_card' );
107 __PACKAGE__->columns( Primary => qw/id/ );
108 __PACKAGE__->columns( Essential => qw/valid address_type usr street1 street2
109 city county state country post_code/ );
111 #-------------------------------------------------------------------------------
112 package actor::profile;
115 __PACKAGE__->table( 'actor_card' );
116 __PACKAGE__->columns( Primary => qw/id/ );
117 __PACKAGE__->columns( Essential => qw/name/ );
119 #-------------------------------------------------------------------------------