Projekt

Allgemein

Profil

Herunterladen (2,31 KB) Statistiken
| Zweig: | Markierung: | Revision:
82515b2d Sven Schöling
# This file has been auto-generated. Do not modify it; it will be overwritten
# by rose_auto_create_model.pl automatically.
package SL::DB::DeliveryOrderItem;

use strict;

use base qw(SL::DB::Object);

b8b112a3 Sven Schöling
__PACKAGE__->meta->table('delivery_order_items');

__PACKAGE__->meta->columns(
3eb3d1b1 Moritz Bunkus
base_qty => { type => 'float', precision => 4 },
cusordnumber => { type => 'text' },
b8b112a3 Sven Schöling
delivery_order_id => { type => 'integer', not_null => 1 },
description => { type => 'text' },
discount => { type => 'float', precision => 4 },
3eb3d1b1 Moritz Bunkus
id => { type => 'integer', not_null => 1, sequence => 'delivery_order_items_id' },
itime => { type => 'timestamp', default => 'now()' },
lastcost => { type => 'numeric', precision => 5, scale => 15 },
longdescription => { type => 'text' },
marge_price_factor => { type => 'numeric', default => 1, precision => 5, scale => 15 },
mtime => { type => 'timestamp' },
ordnumber => { type => 'text' },
parts_id => { type => 'integer', not_null => 1 },
price_factor => { type => 'numeric', default => 1, precision => 5, scale => 15 },
price_factor_id => { type => 'integer' },
pricegroup_id => { type => 'integer' },
b8b112a3 Sven Schöling
project_id => { type => 'integer' },
3eb3d1b1 Moritz Bunkus
qty => { type => 'numeric', precision => 5, scale => 25 },
b8b112a3 Sven Schöling
reqdate => { type => 'date' },
3eb3d1b1 Moritz Bunkus
sellprice => { type => 'numeric', precision => 5, scale => 15 },
b8b112a3 Sven Schöling
serialnumber => { type => 'text' },
transdate => { type => 'text' },
unit => { type => 'varchar', length => 20 },
);
82515b2d Sven Schöling
b8b112a3 Sven Schöling
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
82515b2d Sven Schöling
b8b112a3 Sven Schöling
__PACKAGE__->meta->allow_inline_column_values(1);
82515b2d Sven Schöling
b8b112a3 Sven Schöling
__PACKAGE__->meta->foreign_keys(
delivery_order => {
class => 'SL::DB::DeliveryOrder',
key_columns => { delivery_order_id => 'id' },
},
82515b2d Sven Schöling
4bcf8804 Sven Schöling
part => {
b8b112a3 Sven Schöling
class => 'SL::DB::Part',
key_columns => { parts_id => 'id' },
},
b632cee8 Moritz Bunkus
4bcf8804 Sven Schöling
price_factor_obj => {
class => 'SL::DB::PriceFactor',
key_columns => { price_factor_id => 'id' },
},

pricegroup => {
class => 'SL::DB::Pricegroup',
key_columns => { pricegroup_id => 'id' },
},

b8b112a3 Sven Schöling
project => {
class => 'SL::DB::Project',
key_columns => { project_id => 'id' },
},
82515b2d Sven Schöling
);

1;
;