DBIx::Class::Schema::PopulateMore::Test::Schema::Result::Company - A Company Class
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.
This module defines the following package methods
Name of the Physical table in the database
Add columns and meta information
Primary Key which is an auto generated autoinc
The company's name
Sets the Primary keys for this table
Each Company might have a resultset from the company_person table. This is a bridge table in a many-many type relationship
A resultset of Persons via a resultset of connecting CompanyPersons
This module defines the following methods.
Please see DBIx::Class::Schema::PopulateMore For authorship information
Please see DBIx::Class::Schema::PopulateMore For licensing terms.
To install DBIx::Class::Schema::PopulateMore, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class::Schema::PopulateMore
CPAN shell
perl -MCPAN -e shell install DBIx::Class::Schema::PopulateMore
For more information on module installation, please visit the detailed CPAN module installation guide.