-__PACKAGE__->meta->relationships(
- ap => {
- class => 'SL::DB::PurchaseInvoice',
- column_map => { id => 'payment_id' },
- type => 'one to many',
- },
-
- ar => {
- class => 'SL::DB::Invoice',
- column_map => { id => 'payment_id' },
- type => 'one to many',
- },
-
- customer => {
- class => 'SL::DB::Customer',
- column_map => { id => 'payment_id' },
- type => 'one to many',
- },
-
- oe => {
- class => 'SL::DB::Order',
- column_map => { id => 'payment_id' },
- type => 'one to many',
- },
-
- parts => {
- class => 'SL::DB::Part',
- column_map => { id => 'payment_id' },
- type => 'one to many',
- },
-);
-
-# __PACKAGE__->meta->initialize;
-