Revision 84530888
Von Thomas Heck vor fast 11 Jahren hinzugefügt
SL/DB/Note.pm | ||
---|---|---|
7 | 7 |
|
8 | 8 |
use SL::DB::MetaSetup::Note; |
9 | 9 |
|
10 |
__PACKAGE__->meta->initialize; |
|
11 |
|
|
12 |
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. |
|
13 |
__PACKAGE__->meta->make_manager_class; |
|
14 | 10 |
|
15 | 11 |
__PACKAGE__->meta->add_relationships( |
16 |
followup => { |
|
12 |
follow_up => {
|
|
17 | 13 |
type => 'one to one', |
18 | 14 |
class => 'SL::DB::FollowUp', |
19 |
column_map => { id => 'id' }, |
|
15 |
column_map => { id => 'note_id' },
|
|
20 | 16 |
}, |
21 | 17 |
); |
22 | 18 |
|
19 |
__PACKAGE__->meta->initialize; |
|
20 |
|
|
21 |
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. |
|
22 |
__PACKAGE__->meta->make_manager_class; |
|
23 |
|
|
24 |
|
|
23 | 25 |
1; |
Auch abrufbar als: Unified diff
SL::DB::Note gefixt