5 use base
qw(DB::Object);
7 use Rose
::Object
::MakeMethods
::Generic
( scalar => [ qw
/ pic / ] );
9 use Common
::RDBO
::Helper
::Post
qw(:all);
11 __PACKAGE__
->meta->setup(
15 qw
/ id title content /,
16 addtime
=> { type
=> 'epoch' }
19 primary_key_columns
=> [ qw
/ id / ],
23 type
=> 'one to many',
25 column_map
=> { id
=> 'master_id' },
26 query_args
=> [ type
=> 'article' ]
29 type
=> 'one to many',
31 column_map
=> { id
=> 'master_id' },
32 query_args
=> [ type
=> 'article' ]
43 This library is free software, you can redistribute it and/or modify
44 it under the same terms as Perl itself.