1 package # hide from PAUSE
6 use base qw/DBIx::Class/;
8 __PACKAGE__->load_components(qw/InflateColumn::DateTime Core/);
10 __PACKAGE__->table('foo_baz');
12 __PACKAGE__->add_columns(
13 foo => { data_type => 'integer', size => 16 },
14 baz => { data_type => 'integer', size => 16 },
17 __PACKAGE__->set_primary_key(qw/foo baz/);
19 __PACKAGE__->belongs_to('foo' => 'RTest::TestDB::Foo');
20 __PACKAGE__->belongs_to('baz' => 'RTest::TestDB::Baz');