f40c5de9629600309e3204d6423de82c6bde8cf9
[kivitendo-erp.git] / SL / DB / PartsGroup.pm
1 # This file has been auto-generated only because it didn't exist.
2 # Feel free to modify it at will; it will not be overwritten automatically.
3
4 package SL::DB::PartsGroup;
5
6 use strict;
7
8 use SL::DB::MetaSetup::PartsGroup;
9 use SL::DB::Manager::PartsGroup;
10
11 __PACKAGE__->meta->add_relationship(
12   custom_variable_configs => {
13     type                  => 'many to many',
14     map_class             => 'SL::DB::CustomVariableConfigPartsgroup',
15   },
16 );
17
18 __PACKAGE__->meta->initialize;
19
20 sub displayable_name {
21   my $self = shift;
22
23   return join ' ', grep $_, $self->id, $self->partsgroup;
24 }
25
26 1;