Projekt

Allgemein

Profil

Herunterladen (572 Bytes) Statistiken
| Zweig: | Markierung: | Revision:
82515b2d Sven Schöling
package SL::DB::DeliveryOrderItem;

use strict;

use SL::DB::MetaSetup::DeliveryOrderItem;
e1bf173b Sven Schöling
use SL::DB::Helper::CustomVariables (
1b65e282 Sven Schöling
sub_module => 'delivery_order_item',
e1bf173b Sven Schöling
cvars_alias => 1,
overloads => {
parts_id => 'SL::DB::Part',
},
);
82515b2d Sven Schöling
__PACKAGE__->meta->make_manager_class;
b632cee8 Moritz Bunkus
__PACKAGE__->meta->add_relationship(
unit_obj => {
dd6282f6 Moritz Bunkus
type => 'many to one',
b632cee8 Moritz Bunkus
class => 'SL::DB::Unit',
column_map => { unit => 'name' },
},
);
82515b2d Sven Schöling
f1d475ff Moritz Bunkus
__PACKAGE__->meta->initialize;

82515b2d Sven Schöling
# methods

sub part {
# canonial alias for parts.
b632cee8 Moritz Bunkus
goto &parts;
82515b2d Sven Schöling
}

1;