RDBO Support.
[kivitendo-erp.git] / SL / DB / GLTransaction.pm
diff --git a/SL/DB/GLTransaction.pm b/SL/DB/GLTransaction.pm
new file mode 100644 (file)
index 0000000..c4ca221
--- /dev/null
@@ -0,0 +1,14 @@
+package SL::DB::GLTransaction;
+
+use strict;
+
+use SL::DB::MetaSetup::GLTransaction;
+
+for my $field (qw(transdate gldate)) {
+  __PACKAGE__->attr_date($field);
+}
+
+# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
+__PACKAGE__->meta->make_manager_class;
+
+1;