---
name: "DBIx::Class::Schema::PopulateMore::Test::Schema::Result::Company"
section: "3pm"
platform: "linux"
package: "libdbix-class-schema-populatemore-perl"
version: "0.19-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/DBIx::Class::Schema::PopulateMore::Test::Schema::Result::Company"
---

# DBIx::Class::Schema::PopulateMore::Test::Schema::Result::Company(3pm)

A Company Class

## 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.
