X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FGLTransaction.pm;fp=SL%2FDB%2FMetaSetup%2FGLTransaction.pm;h=a7d25f7bf9755fa29b16e851c346bb649f941d82;hb=82515b2d93dc5632f24d6e0b6f8f05f3fd19fbb0;hp=0000000000000000000000000000000000000000;hpb=4440782f0737cd715dbd96851ecc2dbd8cd639f2;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/GLTransaction.pm b/SL/DB/MetaSetup/GLTransaction.pm new file mode 100644 index 000000000..a7d25f7bf --- /dev/null +++ b/SL/DB/MetaSetup/GLTransaction.pm @@ -0,0 +1,44 @@ +# This file has been auto-generated. Do not modify it; it will be overwritten +# by rose_auto_create_model.pl automatically. +package SL::DB::GLTransaction; + +use strict; + +use base qw(SL::DB::Object); + +__PACKAGE__->meta->setup( + table => 'gl', + + columns => [ + id => { type => 'integer', not_null => 1, sequence => 'glid' }, + reference => { type => 'text' }, + description => { type => 'text' }, + transdate => { type => 'date', default => 'now' }, + gldate => { type => 'date', default => 'now' }, + employee_id => { type => 'integer' }, + notes => { type => 'text' }, + department_id => { type => 'integer', default => '0' }, + taxincluded => { type => 'boolean' }, + itime => { type => 'timestamp', default => 'now()' }, + mtime => { type => 'timestamp' }, + type => { type => 'text' }, + storno => { type => 'boolean', default => 'false' }, + storno_id => { type => 'integer' }, + ob_transaction => { type => 'boolean' }, + cb_transaction => { type => 'boolean' }, + ], + + primary_key_columns => [ 'id' ], + + allow_inline_column_values => 1, + + foreign_keys => [ + storno_obj => { + class => 'SL::DB::GLTransaction', + key_columns => { storno_id => 'id' }, + }, + ], +); + +1; +;