simplify value widgets to reduce PROCESS calls, make some classes immutable which...
[catagits/Reaction.git] / t / lib / RTest / TestDB / FooBaz.pm
1 package # hide from PAUSE
2   RTest::TestDB::FooBaz;
3
4 use DBIx::Class 0.07;
5
6 use base qw/DBIx::Class/;
7
8 __PACKAGE__->load_components(qw/InflateColumn::DateTime Core/);
9
10 __PACKAGE__->table('foo_baz');
11
12 __PACKAGE__->add_columns(
13   foo => { data_type => 'integer', size => 16 },
14   baz => { data_type => 'integer', size => 16 },
15 );
16
17 __PACKAGE__->set_primary_key(qw/foo baz/);
18
19 __PACKAGE__->belongs_to('foo' => 'RTest::TestDB::Foo');
20 __PACKAGE__->belongs_to('baz' => 'RTest::TestDB::Baz');
21
22 1;