SL::DB::CustomVariable->value für Typ Nummer auch wirklich Nummer zurückgeben
[kivitendo-erp.git] / SL / DB / Note.pm
index 3678295..c539d6a 100644 (file)
@@ -7,7 +7,19 @@ use strict;
 
 use SL::DB::MetaSetup::Note;
 
+
+__PACKAGE__->meta->add_relationships(
+  follow_up => {
+    type         => 'one to one',
+    class        => 'SL::DB::FollowUp',
+    column_map   => { id => 'note_id' },
+  },
+);
+
+__PACKAGE__->meta->initialize;
+
 # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
 __PACKAGE__->meta->make_manager_class;
 
+
 1;