NAME

DBIx::EAV::EntityType - An entity definition. Its attributes and relationships.

SYNOPSIS

DESCRIPTION

ENTITY DEFINITION

An entity definition is a key/value pair in the form of EntityName => \%definition, where the possible keys for %definition are:

attributes
has_one

An arrayref of related entity names to create a has_one relationship.

has_many

An arrayref of related entity names to create a has_many relationship.

many_to_many

An arrayref of related entity names to create a many_to_many relationship.

METHODS

LICENSE

Copyright (C) Carlos Fernando Avila Gratz.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Carlos Fernando Avila Gratz <cafe@kreato.com.br>