| 1 | package DBIO::Test::DynamicForeignCols::Computer; | ||
| 2 | # ABSTRACT: Test result class for dynamic foreign column resolution | ||
| 3 | |||
| 4 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 3 | our $VERSION = '0.900007'; | |
| 7 | |||
| 8 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 3 | ▶ | use base 'DBIO::Core'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 3 | __PACKAGE__->table('Computers'); | |
| 13 | |||
| 14 | 3 | __PACKAGE__->add_columns('id'); | |
| 15 | |||
| 16 | 3 | __PACKAGE__->set_primary_key('id'); | |
| 17 | |||
| 18 | 3 | __PACKAGE__->has_many(computer_test_links => 'DBIO::Test::DynamicForeignCols::TestComputer', 'computer_id'); | |
| 19 | |||
| 20 | 3 | 1; | |
| 21 | |||
| 22 | __END__ | ||