RDBO::I18N model for Form::Processor.
[blog.pm-common-perl-mods.git] / Common-Form-Processor-Model-RDBO-I18N / t / lib / UserI18N.pm
blob697913f08ac174473d0eaf28981fbc7a2bf8812b
1 package UserI18N;
3 use strict;
5 use base qw/ DB::Object::I18N::Translation /;
7 __PACKAGE__->meta->setup(
8 table => 'user_i18n',
10 columns => [
11 qw/
12 i18nid
13 user_id
14 lang
15 istran
16 signature
20 primary_key_columns => [ 'i18nid' ],
22 foreign_keys => [
23 user => {
24 class => 'User',
25 key_columns => { user_id => 'id' },
26 rel_type => 'one to one',
31 =head1 AUTHOR
33 vti
35 =head1 LICENSE
37 This library is free software, you can redistribute it and/or modify
38 it under the same terms as Perl itself.
40 =cut