---
name: "DBIx::Class::Schema::PopulateMore::Test::Schema::Result::Person"
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::Person"
---

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

A Person Class

## NAME

DBIx::Class::Schema::PopulateMore::Test::Schema::Result::Person - A Person Class

## DESCRIPTION

Tests for this type of FK relationship

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

*person\_id*

Primary Key which is an auto generated autoinc

*fk\_gender\_id*

foreign key to the Gender table

*name*

Just an ordinary name

*age*

The person's age

*created*

When the person was added to the database

### primary\_key

Sets the Primary keys for this table

### friendlist

Each Person might have a resultset of friendlist

### gender

This person's gender

### fanlist

A resultset of the people listing me as a friend (if any)

### friends

A resultset of Persons who are in my FriendList

### fans

A resultset of people that have me in their friendlist

### companies\_person

Each Person might have a resultset from the company\_person table.  This is a bridge table in a many-many type relationship

### companies

A resultset of Companies 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.
