The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DBIx::Class::Schema::PopulateMore::Test::Schema::Result::Company - A Company Class

DESCRIPTION

Companies are entities people work for. A person can work for one or more companies. For the purposed of making this easy (for now) we will say that a company can exist without employees and that there is no logic preventing a person from working for more than one company at a time.

PACKAGE METHODS

This module defines the following package methods

table

Name of the Physical table in the database

add_columns

Add columns and meta information

company_id

Primary Key which is an auto generated autoinc

name

The company's name

primary_key

Sets the Primary keys for this table

company_persons

Each Company might have a resultset from the company_person table. This is a bridge table in a many-many type relationship

employees

A resultset of Persons via a resultset of connecting CompanyPersons

METHODS

This module defines the following methods.

AUTHOR

Please see DBIx::Class::Schema::PopulateMore For authorship information

LICENSE

Please see DBIx::Class::Schema::PopulateMore For licensing terms.