b7a19581e89e0dc2f9a936a31bcaffbe13258216
[kivitendo-erp.git] / SL / DB / Manager / Shop.pm
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.
3
4 package SL::DB::Manager::Shop;
5
6 use strict;
7
8 use SL::DB::Helper::Manager;
9 use base qw(SL::DB::Helper::Manager);
10
11 sub object_class { 'SL::DB::Shop' }
12
13 use SL::DB::Helper::Sorted;
14
15 __PACKAGE__->make_manager_methods;
16
17 sub _sort_spec {
18   return ( default => [ 'sortkey', 1 ],
19            columns => { SIMPLE => 'ALL' } );
20 }
21
22 sub get_default {
23     return $_[0]->get_first(where => [ obsolete => 0 ], sort_by => 'sortkey');
24 }
25
26 1;
27
28 1;