1 # This file has been auto-generated only because it didn't exist.
 
   2 # Feel free to modify it at will; it will not be overwritten automatically.
 
   4 package SL::DB::Warehouse;
 
   8 use SL::DB::MetaSetup::Warehouse;
 
  10 __PACKAGE__->meta->make_manager_class;
 
  12 __PACKAGE__->meta->add_relationship(
 
  14     type         => 'one to many',
 
  15     class        => 'SL::DB::Bin',
 
  16     column_map   => { id => 'warehouse_id' },
 
  20 # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
 
  21 #__PACKAGE__->meta->make_manager_class;
 
  23 __PACKAGE__->meta->initialize;
 
  26   return shift()->bins->[0];