]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/Tax.pm
Sortierfunktionen für Buchungsgruppen-Model
[mfinanz.git] / SL / DB / Tax.pm
index 58161aeff0a8cc1e25dfa9a6e2c5806e61a848fe..017b5f13f287750d3d7eb848d891d9cf69c6bc43 100644 (file)
@@ -1,12 +1,17 @@
-# This file has been auto-generated only because it didn't exist.
-# Feel free to modify it at will; it will not be overwritten automatically.
-
 package SL::DB::Tax;
 
 use strict;
 
 use SL::DB::MetaSetup::Tax;
 
+__PACKAGE__->meta->add_relationships(chart => { type         => 'one to one',
+                                                class        => 'SL::DB::Chart',
+                                                column_map   => { chart_id => 'id' },
+                                              },
+                                    );
+
+__PACKAGE__->meta->initialize;
+
 # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
 __PACKAGE__->meta->make_manager_class;