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