]> git.evergreen-ils.org Git - working/NCIPServer.git/blob - lib/NCIP/User/BlockOrTrap.pm
Add some more POD to the new user-related classes.
[working/NCIPServer.git] / lib / NCIP / User / BlockOrTrap.pm
1 # ---------------------------------------------------------------
2 # Copyright © 2014 Jason J.A. Stephenson <jason@sigio.com>
3 #
4 # This file is part of NCIPServer.
5 #
6 # NCIPServer is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10 #
11 # NCIPServer is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 # General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with NCIPServer.  If not, see <http://www.gnu.org/licenses/>.
18 # ---------------------------------------------------------------
19 package NCIP::User::BlockOrTrap;
20
21 use parent qw(Class::Accessor);
22
23 =head1 NAME
24
25 BlockOrTrap - as defined in Z39.83-1-2012
26
27 =head1 SYNOPSIS
28
29
30
31 =head1 DESCRIPTION
32
33 =head1 FIELDS
34
35 =head2 AgencyId
36
37 Text string with the agency identifier for the block or trap.
38
39 =head2 BlockOrTrapType
40
41 The type of block or trap, i.e. block checkout, block holds....
42
43 =head2 ValidFromDate
44
45 Optional date that the block starts.
46
47 =head2 ValidToDate
48
49 Optional date that the block ends.
50
51 =cut
52
53 NCIP::User::BlockOrTrap->mk_accessors(
54     qw(
55           AgencyId
56           BlockOrTrapType
57           ValidFromDate
58           ValidToDate
59       )
60 );
61
62 1;