Test fix.
[blog.pm-common-perl-mods.git] / Rose-DB-Object-I18N / t / lib / User.pm
blob0e1984f7cf42d985ed953a92ea72e99b2c1b21eb
1 package User;
3 use strict;
5 use base qw(DB::Object::I18N::Static);
7 __PACKAGE__->meta->setup(
8 table => 'user',
10 columns => [
11 qw/ id name orig_lang /
14 primary_key_columns => [ qw/ id / ],
16 unique_key => [ qw/ name / ],
18 relationships => [
19 user_i18n => {
20 type => 'one to many',
21 class => 'UserI18N',
22 column_map => { id => 'user_id' }
27 =head1 AUTHOR
29 vti
31 =head1 LICENSE
33 This library is free software, you can redistribute it and/or modify
34 it under the same terms as Perl itself.
36 =cut