| 1 | package DBIO::Test::Schema::Money; | ||
| 2 | # ABSTRACT: Test result class for the money_test table (MONEY column) | ||
| 3 | 256 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 256 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 256 | our $VERSION = '0.900007'; | |
| 7 | |||
| 8 | 256 | ▶ | use base 'DBIO::Test::BaseResult'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 256 | __PACKAGE__->table('money_test'); | |
| 11 | 256 | __PACKAGE__->add_columns( | |
| 12 | id => { | ||
| 13 | data_type => 'integer', | ||
| 14 | is_auto_increment => 1, | ||
| 15 | }, | ||
| 16 | amount => { | ||
| 17 | data_type => 'money', | ||
| 18 | is_nullable => 1, | ||
| 19 | }, | ||
| 20 | ); | ||
| 21 | 256 | __PACKAGE__->set_primary_key('id'); | |
| 22 | 256 | __PACKAGE__->resultset_class('DBIO::Test::BaseResultSet'); | |
| 23 | 256 | 1; | |
| 24 | |||
| 25 | __END__ | ||