1 package SL::DB::Manager::Warehouse;
5 use SL::DB::Helper::Manager;
6 use base qw(SL::DB::Helper::Manager);
8 use SL::DB::Helper::Sorted;
10 sub object_class { 'SL::DB::Warehouse' }
12 __PACKAGE__->make_manager_methods;
15 return ( default => [ 'sortkey', 1 ],
16 columns => { SIMPLE => 'ALL',
17 map { ( $_ => "lower(warehouse.$_)" ) } qw(description)