public function since(): ?string
{ return '6.0.0.0';
} protected function defineFields(): FieldCollection
{ return new FieldCollection([ (new IdField('id', 'id'
))->
addFlags(new ApiAware(),
new PrimaryKey(),
new Required()),
(new StringField('configuration_key', 'configurationKey'
))->
addFlags(new ApiAware(),
new Required()),
(new ConfigJsonField('configuration_value', 'configurationValue'
))->
addFlags(new ApiAware(),
new Required()),
(new FkField('sales_channel_id', 'salesChannelId', SalesChannelDefinition::
class))->
addFlags(new ApiAware()),
(new ManyToOneAssociationField('salesChannel', 'sales_channel_id', SalesChannelDefinition::
class, 'id', false
))->
addFlags(new ApiAware()),
]);
}}