5 use base
qw(DB::Object);
7 __PACKAGE__
->meta->setup(
11 qw
/ id post_id title content user_id revision addtime /,
14 primary_key_columns
=> [ qw
/ id / ],
18 type
=> 'many to one',
20 key_columns
=> { post_id
=> 'id' }
31 This library is free software, you can redistribute it and/or modify
32 it under the same terms as Perl itself.