]> wagnertech.de Git - mfinanz.git/blob - SL/DB/File.pm
restart apache2 in postinst
[mfinanz.git] / SL / DB / File.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::File;
5
6 use strict;
7
8 use SL::DB::MetaSetup::File;
9 use SL::DB::Manager::File;
10 use SL::DB::Helper::AttrSorted;
11
12 __PACKAGE__->meta->add_relationship(
13   full_text            => {
14     type               => 'one to one',
15     class              => 'SL::DB::FileFullText',
16     column_map         => { id => 'file_id' },
17   },
18 );
19
20 __PACKAGE__->meta->add_relationship(
21   file_versions        => {
22     type               => 'one to many',
23     class              => 'SL::DB::FileVersion',
24     column_map         => { id => 'file_id' },
25   },
26 );
27
28
29 __PACKAGE__->meta->initialize;
30
31 __PACKAGE__->attr_sorted({unsorted => 'file_versions', position => 'version'});
32
33 1;
34 __END__
35
36 =pod
37
38 =encoding utf8
39
40 =head1 NAME
41
42 SL::DB::File - Databaseclass for File
43
44 =head1 SYNOPSIS
45
46 use SL::DB::File;
47
48 # synopsis...
49
50 =head1 DESCRIPTION
51
52 # longer description.
53
54 =head1 INTERFACE
55
56 =head1 DEPENDENCIES
57
58 =head1 SEE ALSO
59
60 =head1 AUTHOR
61
62 Werner Hahn E<lt>wh@futureworldsearch.netE<gt>
63
64 =cut