kivitendo/SL/DB/MetaSetup/MakeModel.pm @ 4a663bf8
f97b0778 | 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::MakeModel;
|
||||
use strict;
|
||||
2ea07c13 | Sven Schöling | use parent qw(SL::DB::Object);
|
||
f97b0778 | Sven Schöling | |||
b8b112a3 | Sven Schöling | __PACKAGE__->meta->table('makemodel');
|
||
__PACKAGE__->meta->columns(
|
||||
8e144b04 | Bernd Bleßmann | id => { type => 'serial', not_null => 1 },
|
||
itime => { type => 'timestamp', default => 'now()' },
|
||||
lastcost => { type => 'numeric', precision => 15, scale => 5 },
|
||||
lastupdate => { type => 'date' },
|
||||
make => { type => 'integer' },
|
||||
model => { type => 'text' },
|
||||
mtime => { type => 'timestamp' },
|
||||
part_description => { type => 'text' },
|
||||
part_longdescription => { type => 'text' },
|
||||
parts_id => { type => 'integer' },
|
||||
sortorder => { type => 'integer' },
|
||||
f97b0778 | Sven Schöling | );
|
||
b8b112a3 | Sven Schöling | __PACKAGE__->meta->primary_key_columns([ 'id' ]);
|
||
__PACKAGE__->meta->allow_inline_column_values(1);
|
||||
36922218 | Geoffrey Richardson | __PACKAGE__->meta->foreign_keys(
|
||
vendor => {
|
||||
class => 'SL::DB::Vendor',
|
||||
key_columns => { make => 'id' },
|
||||
},
|
||||
);
|
||||
f97b0778 | Sven Schöling | 1;
|
||
;
|