X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3eb3d1b144adb92e62de08e67dc6ff3d39bf7483..72abd969e20421aaa76fa6bd675c261ffcf1863c:/SL/DB/MetaSetup/GLTransaction.pm?ds=inline diff --git a/SL/DB/MetaSetup/GLTransaction.pm b/SL/DB/MetaSetup/GLTransaction.pm index 33f7121fd..f59251362 100644 --- a/SL/DB/MetaSetup/GLTransaction.pm +++ b/SL/DB/MetaSetup/GLTransaction.pm @@ -4,12 +4,13 @@ package SL::DB::GLTransaction; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('gl'); __PACKAGE__->meta->columns( cb_transaction => { type => 'boolean' }, + deliverydate => { type => 'date' }, department_id => { type => 'integer' }, description => { type => 'text' }, employee_id => { type => 'integer' }, @@ -37,6 +38,11 @@ __PACKAGE__->meta->foreign_keys( key_columns => { department_id => 'id' }, }, + employee => { + class => 'SL::DB::Employee', + key_columns => { employee_id => 'id' }, + }, + storno_obj => { class => 'SL::DB::GLTransaction', key_columns => { storno_id => 'id' },