1 package SL::DB::Manager::Department;
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::Department' }
12 __PACKAGE__->make_manager_methods;
15 return ( default => [ 'description', 1 ],
16 columns => { SIMPLE => 'ALL',
17 map { ( $_ => "lower(department.$_)" ) } qw(description)