John Napiorkowski > DBIx-Class-Schema-PopulateMore > DBIx::Class::Schema::PopulateMore::Test::Schema::Result::CompanyPerson

Download:
DBIx-Class-Schema-PopulateMore-0.18.tar.gz

Annotate this POD

Website

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

DBIx::Class::Schema::PopulateMore::Test::Schema::Result::CompanyPerson - Bridge between Company and Person

DESCRIPTION ^

Bridge table for many to many style relationship between Company and Person.

ATTRIBUTES ^

This class defines the following attributes.

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

fk_person_id

ID of the person with a companies

fk_company_id

ID of the company with persons

primary_key

Sets the Primary keys for this table

employee

The person that is employed by a company

company

The company that employees the person

employment_history

each instance of a company_person has a related employment history

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.

syntax highlighting: