Bug 23843: Add mapping to Koha::Acquisition::Fund
[koha.git] / Koha / Acquisition / Baskets.pm
1 package Koha::Acquisition::Baskets;
2
3 # Copyright 2017 Aleisha Amohia <aleisha@catalyst.net.nz>
4 #
5 # This file is part of Koha.
6 #
7 # Koha is free software; you can redistribute it and/or modify it under the
8 # terms of the GNU General Public License as published by the Free Software
9 # Foundation; either version 3 of the License, or (at your option) any later
10 # version.
11 #
12 # Koha is distributed in the hope that it will be useful, but WITHOUT ANY
13 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14 # A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License along
17 # with Koha; if not, write to the Free Software Foundation, Inc.,
18 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
20 use Modern::Perl;
21
22 use Koha::Database;
23 use Koha::Acquisition::Basket;
24
25 use base qw( Koha::Objects Koha::Objects::Mixin::AdditionalFields );
26
27 =head1 NAME
28
29 Koha::Acquisition::Baskets - Koha Baskets object set class
30
31 =head1 API
32
33 =head2 Internal methods
34
35 =head3 _type
36
37 =cut
38
39 sub _type {
40     return 'Aqbasket';
41 }
42
43 =head3 object_class
44
45 =cut
46
47 sub object_class {
48     return 'Koha::Acquisition::Basket';
49 }
50
51 =head1 AUTHOR
52
53 Aleisha Amohia <aleisha@catalyst.net.nz>
54 Catalyst IT
55
56 =cut
57
58 1;