From d44570d9c2c75b2c7fa986a77275d1e563582010 Mon Sep 17 00:00:00 2001
From: Aleisha Amohia <aleishaamohia@hotmail.com>
Date: Tue, 23 Apr 2019 22:28:03 +0000
Subject: [PATCH] Bug 8628: Digital signs - Koha objects

Signed-off-by: Lisette Scheer <lisetteslatah@gmail.com>
---
 Koha/Sign.pm           | 40 ++++++++++++++++++++++++++++++++++
 Koha/SignStream.pm     | 40 ++++++++++++++++++++++++++++++++++
 Koha/SignStreams.pm    | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++
 Koha/Signs.pm          | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++
 Koha/SignsToStream.pm  | 40 ++++++++++++++++++++++++++++++++++
 Koha/SignsToStreams.pm | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 297 insertions(+)
 create mode 100644 Koha/Sign.pm
 create mode 100644 Koha/SignStream.pm
 create mode 100644 Koha/SignStreams.pm
 create mode 100644 Koha/Signs.pm
 create mode 100644 Koha/SignsToStream.pm
 create mode 100644 Koha/SignsToStreams.pm

diff --git a/Koha/Sign.pm b/Koha/Sign.pm
new file mode 100644
index 0000000000..6c8c7fcc02
--- /dev/null
+++ b/Koha/Sign.pm
@@ -0,0 +1,40 @@
+package Koha::Sign;
+
+# Copyright 2016 Aleisha Amohia <aleisha@catalyst.net.nz>
+#
+# 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, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+use Modern::Perl;
+
+use Koha::Database;
+
+use base qw( Koha::Object );
+
+=head1 NAME
+
+Koha::Sign - Koha Sign object class
+
+=head1 API
+
+=head2 Class Methods
+
+=cut
+
+sub _type {
+    return 'Sign';
+}
+
+1;
diff --git a/Koha/SignStream.pm b/Koha/SignStream.pm
new file mode 100644
index 0000000000..daabddc767
--- /dev/null
+++ b/Koha/SignStream.pm
@@ -0,0 +1,40 @@
+package Koha::SignStream;
+
+# Copyright 2016 Aleisha Amohia <aleisha@catalyst.net.nz>
+#
+# 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, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+use Modern::Perl;
+
+use Koha::Database;
+
+use base qw( Koha::Object );
+
+=head1 NAME
+
+Koha::SignStream - Koha SignStream object class
+
+=head1 API
+
+=head2 Class Methods
+
+=cut
+
+sub _type {
+    return 'SignStream';
+}
+
+1;
diff --git a/Koha/SignStreams.pm b/Koha/SignStreams.pm
new file mode 100644
index 0000000000..26b5596109
--- /dev/null
+++ b/Koha/SignStreams.pm
@@ -0,0 +1,59 @@
+package Koha::SignStreams;
+
+# Copyright 2016 Aleisha Amohia <aleisha@catalyst.net.nz>
+#
+# 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, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+use Modern::Perl;
+
+use Koha::Database;
+use Koha::SignStream;
+
+use base qw( Koha::Objects );
+
+=head1 NAME
+
+Koha::SignStreams - Koha SignStream object set class
+
+=head1 API
+
+=head2 Class Methods
+
+=cut
+
+=head3 type
+
+=cut
+
+sub _type {
+    return 'SignStream';
+}
+
+=head3 object_class
+
+=cut
+
+sub object_class {
+    return 'Koha::SignStream';
+}
+
+=head1 AUTHOR
+
+Aleisha Amohia <aleisha@catalyst.net.nz>
+
+=cut
+
+1;
diff --git a/Koha/Signs.pm b/Koha/Signs.pm
new file mode 100644
index 0000000000..da32aff670
--- /dev/null
+++ b/Koha/Signs.pm
@@ -0,0 +1,59 @@
+package Koha::Signs;
+
+# Copyright 2016 Aleisha Amohia <aleisha@catalyst.net.nz>
+#
+# 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, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+use Modern::Perl;
+
+use Koha::Database;
+use Koha::Sign;
+
+use base qw( Koha::Objects );
+
+=head1 NAME
+
+Koha::Signs - Koha Sign object set class
+
+=head1 API
+
+=head2 Class Methods
+
+=cut
+
+=head3 type
+
+=cut
+
+sub _type {
+    return 'Sign';
+}
+
+=head3 object_class
+
+=cut
+
+sub object_class {
+    return 'Koha::Sign';
+}
+
+=head1 AUTHOR
+
+Aleisha Amohia <aleisha@catalyst.net.nz>
+
+=cut
+
+1;
diff --git a/Koha/SignsToStream.pm b/Koha/SignsToStream.pm
new file mode 100644
index 0000000000..b76f160ea6
--- /dev/null
+++ b/Koha/SignsToStream.pm
@@ -0,0 +1,40 @@
+package Koha::SignsToStream;
+
+# Copyright 2016 Aleisha Amohia <aleisha@catalyst.net.nz>
+#
+# 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, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+use Modern::Perl;
+
+use Koha::Database;
+
+use base qw( Koha::Object );
+
+=head1 NAME
+
+Koha::SignsToStream - SignsToStream object class
+
+=head1 API
+
+=head2 Class Methods
+
+=cut
+
+sub _type {
+    return 'SignsToStream';
+}
+
+1;
diff --git a/Koha/SignsToStreams.pm b/Koha/SignsToStreams.pm
new file mode 100644
index 0000000000..c677bcbcf3
--- /dev/null
+++ b/Koha/SignsToStreams.pm
@@ -0,0 +1,59 @@
+package Koha::SignsToStreams;
+
+# Copyright 2016 Aleisha Amohia <aleisha@catalyst.net.nz>
+#
+# 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, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+use Modern::Perl;
+
+use Koha::Database;
+use Koha::SignsToStream;
+
+use base qw( Koha::Objects );
+
+=head1 NAME
+
+Koha::SignsToStreams - Koha SignsToStream object set class
+
+=head1 API
+
+=head2 Class Methods
+
+=cut
+
+=head3 type
+
+=cut
+
+sub _type {
+    return 'SignsToStream';
+}
+
+=head3 object_class
+
+=cut
+
+sub object_class {
+    return 'Koha::SignsToStream';
+}
+
+=head1 AUTHOR
+
+Aleisha Amohia <aleisha@catalyst.net.nz>
+
+=cut
+
+1;
-- 
2.11.0