package Vee::Schema::PokemonAbilities;

use strict;
use warnings;
use base 'DBIx::Class';

=head1 NAME

Vee::Schema::PokemonAbilities - DBIC class for the C<pokemon_abilities> table

=cut

__PACKAGE__->load_components('Core');
__PACKAGE__->table('pokemon_abilities');
__PACKAGE__->add_columns(qw/ pokeid abilityid slot /);
__PACKAGE__->set_primary_key(qw/ pokeid abilityid /);

__PACKAGE__->belongs_to(pokemon => 'Vee::Schema::Pokemon', 'pokeid');
__PACKAGE__->belongs_to(ability => 'Vee::Schema::Abilities', 'abilityid');

=head1 SEE ALSO

L<Vee::Schema>, L<DBIx::Class>

=head1 AUTHOR

Maintainer: Alex "Eevee" Munroe (C<veekun@veekun.com>)

See the included F<AUTHORS> file for a full list of contributers.

=head1 LICENSE

See the included F<LICENSE> file.

=cut

1;
