added new relations

This commit is contained in:
Finn 2019-07-03 17:36:36 +01:00
parent bea1301475
commit c456428681
No known key found for this signature in database
GPG key ID: 7455B4B17685B598
14 changed files with 4782 additions and 4 deletions

View file

@ -105,6 +105,18 @@ __PACKAGE__->belongs_to(
"entity_id",
);
__PACKAGE__->belongs_to(
"organisation_type",
"Pear::LocalLoop::Schema::Result::OrganisationType",
"type_id",
);
__PACKAGE__->belongs_to(
"social_type",
"Pear::LocalLoop::Schema::Result::OrganisationType",
"social_type_id",
);
__PACKAGE__->has_many(
"payroll",
"Pear::LocalLoop::Schema::Result::OrganisationPayroll",