Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / SL / DB / Manager / ProjectType.pm
1 package SL::DB::Manager::ProjectType;
2
3 use strict;
4
5 use parent qw(SL::DB::Helper::Manager);
6
7 use SL::DB::Helper::Paginated;
8 use SL::DB::Helper::Sorted;
9
10 sub object_class { 'SL::DB::ProjectType' }
11
12 __PACKAGE__->make_manager_methods;
13
14 sub _sort_spec {
15   return (
16     default       => [ 'position', 1 ],
17     columns       => {
18       SIMPLE      => 'ALL',
19       description => 'lower(project_types.description)',
20     });
21 }
22
23 1;
24 __END__
25
26 =pod
27
28 =encoding utf8
29
30 =head1 NAME
31
32 SL::DB::Manager::ProjectType - Manager for models for the 'project_types' table
33
34 =head1 SYNOPSIS
35
36 This is a standard Rose::DB::Manager based model manager and can be
37 used as such.
38
39 =head1 FUNCTIONS
40
41 None yet.
42
43 =head1 BUGS
44
45 Nothing here yet.
46
47 =head1 AUTHOR
48
49 Moritz Bunkus E<lt>m.bunkus@linet-services.deE<gt>
50
51 =cut