support model full-qualified...
|
1 |
package MyModel5::main::table3; |
2 | ||
3 |
use strict; |
|
4 |
use warnings; |
|
5 | ||
6 |
use base 'MyModel5'; |
|
7 | ||
8 |
__PACKAGE__->attr(name => 'main.table3'); |
|
9 |
__PACKAGE__->attr(table => 'main.table3'); |
|
10 | ||
11 |
__PACKAGE__->attr('primary_key' => sub { ['key1', 'key2'] }); |
|
12 | ||
13 |
1; |