DBO Update - alle normalen Models hinzugefĆ¼gt.
[kivitendo-erp.git] / SL / DB / MetaSetup / PaymentTerm.pm
diff --git a/SL/DB/MetaSetup/PaymentTerm.pm b/SL/DB/MetaSetup/PaymentTerm.pm
new file mode 100644 (file)
index 0000000..4e18f5d
--- /dev/null
@@ -0,0 +1,31 @@
+# This file has been auto-generated. Do not modify it; it will be overwritten
+# by rose_auto_create_model.pl automatically.
+package SL::DB::PaymentTerm;
+
+use strict;
+
+use base qw(SL::DB::Object);
+
+__PACKAGE__->meta->setup(
+  table   => 'payment_terms',
+
+  columns => [
+    id               => { type => 'integer', not_null => 1, sequence => 'id' },
+    description      => { type => 'text' },
+    description_long => { type => 'text' },
+    terms_netto      => { type => 'integer' },
+    terms_skonto     => { type => 'integer' },
+    percent_skonto   => { type => 'float', precision => 4 },
+    itime            => { type => 'timestamp', default => 'now()' },
+    mtime            => { type => 'timestamp' },
+    ranking          => { type => 'integer' },
+    sortkey          => { type => 'integer', not_null => 1 },
+  ],
+
+  primary_key_columns => [ 'id' ],
+
+  allow_inline_column_values => 1,
+);
+
+1;
+;