PriceSource: editable Dokumentation
[kivitendo-erp.git] / SL / DB / EmailJournal.pm
1 package SL::DB::EmailJournal;
2
3 use strict;
4
5 use SL::DB::MetaSetup::EmailJournal;
6 use SL::DB::Manager::EmailJournal;
7 use SL::DB::Helper::AttrSorted;
8
9 __PACKAGE__->meta->add_relationship(
10   attachments  => {
11     type       => 'one to many',
12     class      => 'SL::DB::EmailJournalAttachment',
13     column_map => { id => 'email_journal_id' },
14   },
15 );
16
17 __PACKAGE__->meta->initialize;
18
19 __PACKAGE__->attr_sorted('attachments');
20
21 1;