package Vee::Schema::Abilities;

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

=head1 NAME

Vee::Schema::Abilities - DBIC class for the C<abilities> table

=cut

__PACKAGE__->load_components('Core');
__PACKAGE__->table('abilities');
__PACKAGE__->add_columns(qw/ id name blurb_dp description /);
__PACKAGE__->set_primary_key('id');

__PACKAGE__->has_many(pokemon_abilities => 'Vee::Schema::PokemonAbilities', 'ability_id');
__PACKAGE__->many_to_many(pokemon => 'pokemon_abilities', 'pokemon');

=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;
