[system] / trunk / webwork2 / lib / WeBWorK / DB / Record / User.pm Repository:
ViewVC logotype

Annotation of /trunk/webwork2/lib/WeBWorK/DB/Record/User.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3209 - (view) (download) (as text)

1 : sh002i 783 ################################################################################
2 : sh002i 1663 # WeBWorK Online Homework Delivery System
3 :     # Copyright 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/
4 : jj 3209 # $CVSHeader: webwork-modperl/lib/WeBWorK/DB/Record/User.pm,v 1.5 2003/12/09 01:12:32 sh002i Exp $
5 : sh002i 1663 #
6 :     # This program is free software; you can redistribute it and/or modify it under
7 :     # the terms of either: (a) the GNU General Public License as published by the
8 :     # Free Software Foundation; either version 2, or (at your option) any later
9 :     # version, or (b) the "Artistic License" which comes with this package.
10 :     #
11 :     # This program is distributed in the hope that it will be useful, but WITHOUT
12 :     # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 :     # FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
14 :     # Artistic License for more details.
15 : sh002i 783 ################################################################################
16 :    
17 :     package WeBWorK::DB::Record::User;
18 :     use base WeBWorK::DB::Record;
19 :    
20 :     =head1 NAME
21 :    
22 :     WeBWorK::DB::Record::User - represent a record from the user table.
23 :    
24 :     =cut
25 :    
26 :     use strict;
27 :     use warnings;
28 :    
29 : sh002i 1207 sub KEYFIELDS {qw(
30 : sh002i 919 user_id
31 : sh002i 838 )}
32 :    
33 : sh002i 1207 sub NONKEYFIELDS {qw(
34 :     first_name
35 :     last_name
36 :     email_address
37 :     student_id
38 :     status
39 :     section
40 :     recitation
41 :     comment
42 :     )}
43 :    
44 :     sub FIELDS {qw(
45 : sh002i 919 user_id
46 : sh002i 783 first_name
47 :     last_name
48 :     email_address
49 :     student_id
50 :     status
51 :     section
52 :     recitation
53 :     comment
54 :     )}
55 :    
56 : jj 3209 sub SQL_TYPES {qw(
57 :     BLOB
58 :     TEXT
59 :     TEXT
60 :     TEXT
61 :     TEXT
62 :     TEXT
63 :     TEXT
64 :     TEXT
65 :     TEXT
66 :     )}
67 :    
68 : sh002i 783 1;

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9