package periodicals::issue;

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

__PACKAGE__->table('Issue');
__PACKAGE__->columns(All => qw/id journal date arrival_date issue volume supplements status/);


__PACKAGE__->has_a(journal => 'periodicals::journal');

__PACKAGE__->add_constructor(overdue_issues => qq/arrival_date < ? AND status='0'/);

1;
