DBIx::Class::Schema::PopulateMore::Test::Schema::Result::Company3pm
A company class
Overview
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.
Releases
Unchanged in 2 releases since Debian 12 (Bookworm).