return '6.0.0.0';
} protected function getParentDefinitionClass(): ?string
{ return NumberRangeDefinition::
class;
} protected function defineFields(): FieldCollection
{ return new FieldCollection([ (new IdField('id', 'id'
))->
addFlags(new PrimaryKey(),
new Required()),
(new FkField('number_range_id', 'numberRangeId', NumberRangeDefinition::
class))->
addFlags(new Required()),
(new FkField('sales_channel_id', 'salesChannelId', SalesChannelDefinition::
class))->
addFlags(new Required()),
new FkField('number_range_type_id', 'numberRangeTypeId', NumberRangeTypeDefinition::
class),
new ManyToOneAssociationField('numberRange', 'number_range_id', NumberRangeDefinition::
class),
new ManyToOneAssociationField('salesChannel', 'sales_channel_id', SalesChannelDefinition::
class),
new ManyToOneAssociationField('numberRangeType', 'number_range_type_id', NumberRangeTypeDefinition::
class),
]);
}}