]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/actor.pm
tons of storage server changes... see diffs
[Evergreen.git] / Open-ILS / src / perlmods / OpenILS / Application / Storage / CDBI / actor.pm
1 package OpenILS::Application::Storage::CDBI::actor;
2 our $VERSION = 1;
3
4 #-------------------------------------------------------------------------------
5 package actor;
6 use base qw/OpenILS::Application::Storage::CDBI/;
7 #-------------------------------------------------------------------------------
8 package actor::user;
9 use base qw/actor/;
10
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/ );
17
18 #-------------------------------------------------------------------------------
19 package actor::org_unit_type;
20 use base qw/actor/;
21
22 __PACKAGE__->table( 'actor_org_unit_type' );
23 __PACKAGE__->columns( Primary => qw/id/);
24 __PACKAGE__->columns( Others => qw/name depth parent can_have_users/);
25
26 #-------------------------------------------------------------------------------
27 package actor::org_unit;
28 use base qw/actor/;
29
30 __PACKAGE__->table( 'actor_org_unit' );
31 __PACKAGE__->columns( Primary => qw/id/);
32 __PACKAGE__->columns( Others => qw/parent_ou ou_type address shortname name/);
33
34 #-------------------------------------------------------------------------------
35 package actor::stat_cat;
36 use base qw/actor/;
37
38 __PACKAGE__->table( 'actor_stat_cat' );
39 __PACKAGE__->columns( Primary => qw/id/ );
40 __PACKAGE__->columns( Others => qw/owner name opac_visible/ );
41
42 #-------------------------------------------------------------------------------
43 package actor::stat_cat_entry;
44 use base qw/actor/;
45
46 __PACKAGE__->table( 'actor_stat_cat_entry' );
47 __PACKAGE__->columns( Primary => qw/id/ );
48 __PACKAGE__->columns( Others => qw/owner value/ );
49
50 #-------------------------------------------------------------------------------
51 package actor::stat_cat_entry_user_map;
52 use base qw/actor/;
53
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/ );
57
58 #-------------------------------------------------------------------------------
59 package actor::card;
60 use base qw/actor/;
61
62 __PACKAGE__->table( 'actor_card' );
63 __PACKAGE__->columns( Primary => qw/id/ );
64 __PACKAGE__->columns( Others => qw/usr barcode active/ );
65
66 #-------------------------------------------------------------------------------
67 package actor::user_access_entry;
68 use base qw/actor/;
69 #-------------------------------------------------------------------------------
70 package actor::perm_group;
71 use base qw/actor/;
72 #-------------------------------------------------------------------------------
73 package actor::permission;
74 use base qw/actor/;
75 #-------------------------------------------------------------------------------
76 package actor::perm_group_permission_map;
77 use base qw/actor/;
78 #-------------------------------------------------------------------------------
79 package actor::perm_group_user_map;
80 use base qw/actor/;
81 #-------------------------------------------------------------------------------
82 package actor::user_address;
83 use base qw/actor/;
84 #-------------------------------------------------------------------------------
85 1;
86