Bug 33104: Koha classes

Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2023-03-01 15:27:39 +01:00 committed by Tomas Cohen Arazi
parent 177c0f3969
commit 087f4db213
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
2 changed files with 90 additions and 0 deletions

View File

@ -0,0 +1,40 @@
package Koha::Acquisition::Bookseller::Interface;
# This file is part of Koha.
#
# Koha is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# Koha is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Koha; if not, see <http://www.gnu.org/licenses>.
use Modern::Perl;
use base qw( Koha::Object );
=head1 NAME
Koha::Acquisition::Bookseller::Interface - Koha Bookseller interface Object class
=head1 API
=head2 Class Methods
=cut
=head3 _type
=cut
sub _type {
return 'AqbooksellerInterface';
}
1;

View File

@ -0,0 +1,50 @@
package Koha::Acquisition::Bookseller::Interfaces;
# This file is part of Koha.
#
# Koha is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# Koha is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Koha; if not, see <http://www.gnu.org/licenses>.
use Modern::Perl;
use base qw( Koha::Objects );
use Koha::Acquisition::Bookseller::Interface;
=head1 NAME
Koha::Acquisition::Bookseller::Interfaces - Koha Bookseller interface Object class
=head1 API
=head2 Class Methods
=cut
=head3 _type
=cut
sub _type {
return 'AqbooksellerInterface';
}
=head3 object_class
=cut
sub object_class {
return 'Koha::Acquisition::Bookseller::Interface';
}
1;