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