From 2a892e9c35c2bc37a25e1fcc95f8f0bb7591eafd Mon Sep 17 00:00:00 2001
From: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Date: Wed, 26 Feb 2025 11:32:53 +0000
Subject: [PATCH] Bug 38689: (follow-up) Add koha_object(s)_class defintions

---
 Koha/Schema/Result/EdifactError.pm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/Koha/Schema/Result/EdifactError.pm b/Koha/Schema/Result/EdifactError.pm
index af940d55f71..03d1f839409 100644
--- a/Koha/Schema/Result/EdifactError.pm
+++ b/Koha/Schema/Result/EdifactError.pm
@@ -99,6 +99,27 @@ __PACKAGE__->belongs_to(
 # Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-02-21 15:22:01
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:e6TNAJbngU94ZrRDcp1OlQ
 
+=head1 OBJECT HELPERS
+
+=head2 koha_objects_class
+
+Name of corresponding Koha::Objects class
+
+=cut
+
+sub koha_objects_class {
+    'Koha::Edifact::File::Errors';
+}
+
+=head2 koha_object_class
+
+Name of corresponding Koha::Object class
+
+=cut
+
+sub koha_object_class {
+    'Koha::Edifact::File::Error';
+}
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
 1;
-- 
2.48.1