@@ -, +, @@ --- Koha/Schema/Result/BorrowerMessagePreference.pm | 8 ++++++++ Koha/Schema/Result/BorrowerMessageTransportPreference.pm | 8 ++++++++ Koha/Schema/Result/MessageAttribute.pm | 8 ++++++++ Koha/Schema/Result/MessageTransport.pm | 8 ++++++++ Koha/Schema/Result/MessageTransportType.pm | 8 ++++++++ 5 files changed, 40 insertions(+) --- a/Koha/Schema/Result/BorrowerMessagePreference.pm +++ a/Koha/Schema/Result/BorrowerMessagePreference.pm @@ -194,4 +194,12 @@ __PACKAGE__->many_to_many( # You can replace this text with custom content, and it will be preserved on regeneration + +sub koha_object_class { + 'Koha::Patron::Message::Preference'; +} +sub koha_objects_class { + 'Koha::Patron::Message::Preferences'; +} + 1; --- a/Koha/Schema/Result/BorrowerMessageTransportPreference.pm +++ a/Koha/Schema/Result/BorrowerMessageTransportPreference.pm @@ -112,4 +112,12 @@ __PACKAGE__->belongs_to( # You can replace this text with custom content, and it will be preserved on regeneration + +sub koha_object_class { + 'Koha::Patron::Message::Transport::Preference'; +} +sub koha_objects_class { + 'Koha::Patron::Message::Transport::Preferences'; +} + 1; --- a/Koha/Schema/Result/MessageAttribute.pm +++ a/Koha/Schema/Result/MessageAttribute.pm @@ -117,4 +117,12 @@ __PACKAGE__->has_many( # You can replace this text with custom content, and it will be preserved on regeneration + +sub koha_object_class { + 'Koha::Patron::Message::Attribute'; +} +sub koha_objects_class { + 'Koha::Patron::Message::Attributes'; +} + 1; --- a/Koha/Schema/Result/MessageTransport.pm +++ a/Koha/Schema/Result/MessageTransport.pm @@ -134,4 +134,12 @@ __PACKAGE__->belongs_to( # You can replace this text with custom content, and it will be preserved on regeneration + +sub koha_object_class { + 'Koha::Patron::Message::Transport'; +} +sub koha_objects_class { + 'Koha::Patron::Message::Transports'; +} + 1; --- a/Koha/Schema/Result/MessageTransportType.pm +++ a/Koha/Schema/Result/MessageTransportType.pm @@ -155,4 +155,12 @@ __PACKAGE__->many_to_many( # You can replace this text with custom content, and it will be preserved on regeneration + +sub koha_object_class { + 'Koha::Patron::Message::Transport::Type'; +} +sub koha_objects_class { + 'Koha::Patron::Message::Transport::Types'; +} + 1; --