package DB::Fundcalc::Price;

use base qw/DBIx::Class/;

use strict;
use warnings;

__PACKAGE__->load_components(qw/PK::Auto Core/);
__PACKAGE__->table('price');
__PACKAGE__->add_columns(qw/id fund_id net total diff date/);
__PACKAGE__->set_primary_key('id');

__PACKAGE__->belongs_to(fund => 'DB::Fundcalc::Fund', 'fund_id');

1;
