Revision 9e2964fa
Von Werner Hahn vor fast 2 Jahren hinzugefügt
SL/DB/Manager/PurchaseBasketItem.pm | ||
---|---|---|
# This file has been auto-generated only because it didn't exist.
|
||
# Feel free to modify it at will; it will not be overwritten automatically.
|
||
|
||
package SL::DB::Manager::PurchaseBasketItem;
|
||
|
||
use strict;
|
||
|
||
use parent qw(SL::DB::Helper::Manager);
|
||
|
||
sub object_class { 'SL::DB::PurchaseBasketItem' }
|
||
|
||
__PACKAGE__->make_manager_methods;
|
||
|
||
1;
|
SL/DB/MetaSetup/PurchaseBasketItem.pm | ||
---|---|---|
# This file has been auto-generated. Do not modify it; it will be overwritten
|
||
# by rose_auto_create_model.pl automatically.
|
||
package SL::DB::PurchaseBasketItem;
|
||
|
||
use strict;
|
||
|
||
use parent qw(SL::DB::Object);
|
||
|
||
__PACKAGE__->meta->table('purchase_basket_items');
|
||
|
||
__PACKAGE__->meta->columns(
|
||
cleared => { type => 'boolean', default => 'false', not_null => 1 },
|
||
description => { type => 'text' },
|
||
id => { type => 'serial', not_null => 1 },
|
||
parts_id => { type => 'integer' },
|
||
qty => { type => 'numeric', precision => 15, scale => 5 },
|
||
);
|
||
|
||
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
|
||
|
||
__PACKAGE__->meta->foreign_keys(
|
||
part => {
|
||
class => 'SL::DB::Part',
|
||
key_columns => { parts_id => 'id' },
|
||
},
|
||
);
|
||
|
||
1;
|
||
;
|
SL/DB/PurchaseBasketItem.pm | ||
---|---|---|
# This file has been auto-generated only because it didn't exist.
|
||
# Feel free to modify it at will; it will not be overwritten automatically.
|
||
|
||
package SL::DB::PurchaseBasketItem;
|
||
|
||
use strict;
|
||
|
||
use SL::DB::MetaSetup::PurchaseBasketItem;
|
||
use SL::DB::Manager::PurchaseBasketItem;
|
||
|
||
__PACKAGE__->meta->initialize;
|
||
|
||
1;
|
Auch abrufbar als: Unified diff
Dispositionsmanager: fehlende Dateien