DOKK / manpages / debian 12 / libdbix-class-schema-populatemore-perl / DBIx::Class::Schema::PopulateMore::Test::Schema::Result::Company.3pm.en
DBIx::Class::Schema::PopulateMore::Test::Schema::Result::Company(3pm) User Contributed Perl Documentation DBIx::Class::Schema::PopulateMore::Test::Schema::Result::Company(3pm)

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

company_id

Primary Key which is an auto generated autoinc

name

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.

2023-01-22 perl v5.36.0