Projekt

Allgemein

Profil

Herunterladen (720 Bytes) Statistiken
| Zweig: | Markierung: | Revision:
53ef5f90 Tamino Steinert
# This file has been auto-generated only because it didn't exist.
# Feel free to modify it at will; it will not be overwritten automatically.

package SL::DB::VariantPropertyValue;

use strict;

use SL::DB::MetaSetup::VariantPropertyValue;
use SL::DB::Manager::VariantPropertyValue;
5618b4b3 Tamino Steinert
use SL::DB::Helper::ActsAsList;
53ef5f90 Tamino Steinert
__PACKAGE__->meta->add_relationships(
parent_variants => {
map_class => 'SL::DB::VariantPropertyValuePart',
map_from => 'variant_property_value',
map_to => 'part',
type => 'many to many',
},
);

__PACKAGE__->meta->initialize;

56da9bba Tamino Steinert
sub value_translated {goto &value} # TODO

4d65e27a Tamino Steinert
sub displayable_name {
my ($self) = @_;
return $self->value . "(" . $self->abbreviation . ")";
}

53ef5f90 Tamino Steinert
1;