package periodicals::journal;

use strict;
use warnings;
use base 'periodicals::base';

__PACKAGE__->table('Journal');
__PACKAGE__->columns(All => qw/id issn title frequency subject publisher vendor cost bought renewed subscription_ends cancellable notes/);

__PACKAGE__->has_a(frequency => 'periodicals::frequency');
__PACKAGE__->has_a(publisher => 'periodicals::publisher');
__PACKAGE__->has_a(vendor    => 'periodicals::vendor');
__PACKAGE__->has_many(issues => 'periodicals::issue');
1;
