Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d2b3f1ee

Von Bernd Bleßmann vor 8 Monaten hinzugefügt

  • ID d2b3f1eee5ca6b22357c35c15cb5079c080876c7
  • Vorgänger 60e0cecf
  • Nachfolger 7dd981c4

S:D:StockCounting: Rose-Beziehung zu Items

Unterschiede anzeigen:

SL/DB/StockCounting.pm
use SL::Locale::String qw(t8);
__PACKAGE__->meta->add_relationship(
stock_counting_items => {
type => 'one to many',
class => 'SL::DB::StockCountingItem',
column_map => { id => 'counting_id' },
},
);
__PACKAGE__->meta->initialize;
sub items { goto &stock_counting_items; }
sub add_items { goto &add_stock_counting_items; }
sub validate {
my ($self) = @_;

Auch abrufbar als: Unified diff