<?php //App__Entity__Channel__ChannelPricing__CLASSMETADATA__

return [PHP_INT_MAX, static fn () => \Symfony\Component\VarExporter\Internal\Hydrator::hydrate(
    $o = [
        clone (($p = &\Symfony\Component\VarExporter\Internal\Registry::$prototypes)['Doctrine\\ORM\\Mapping\\ClassMetadata'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Doctrine\\ORM\\Mapping\\ClassMetadata')),
        clone ($p['Doctrine\\ORM\\Id\\IdentityGenerator'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Doctrine\\ORM\\Id\\IdentityGenerator')),
    ],
    null,
    [
        'stdClass' => [
            'name' => [
                'App\\Entity\\Channel\\ChannelPricing',
            ],
            'namespace' => [
                'App\\Entity\\Channel',
            ],
            'rootEntityName' => [
                'App\\Entity\\Channel\\ChannelPricing',
            ],
            'identifier' => [
                [
                    'id',
                ],
            ],
            'generatorType' => [
                4,
            ],
            'fieldMappings' => [
                [
                    'price' => [
                        'fieldName' => 'price',
                        'type' => 'integer',
                        'columnName' => 'price',
                        'nullable' => true,
                        'declared' => 'Sylius\\Component\\Core\\Model\\ChannelPricing',
                    ],
                    'originalPrice' => [
                        'fieldName' => 'originalPrice',
                        'type' => 'integer',
                        'columnName' => 'original_price',
                        'nullable' => true,
                        'declared' => 'Sylius\\Component\\Core\\Model\\ChannelPricing',
                    ],
                    'minimumPrice' => [
                        'fieldName' => 'minimumPrice',
                        'type' => 'integer',
                        'columnName' => 'minimum_price',
                        'nullable' => true,
                        'options' => [
                            'default' => '0',
                        ],
                        'declared' => 'Sylius\\Component\\Core\\Model\\ChannelPricing',
                    ],
                    'lowestPriceBeforeDiscount' => [
                        'fieldName' => 'lowestPriceBeforeDiscount',
                        'type' => 'integer',
                        'columnName' => 'lowest_price_before_discount',
                        'nullable' => true,
                        'declared' => 'Sylius\\Component\\Core\\Model\\ChannelPricing',
                    ],
                    'channelCode' => [
                        'fieldName' => 'channelCode',
                        'type' => 'string',
                        'columnName' => 'channel_code',
                        'declared' => 'Sylius\\Component\\Core\\Model\\ChannelPricing',
                    ],
                    'id' => [
                        'fieldName' => 'id',
                        'type' => 'integer',
                        'columnName' => 'id',
                        'id' => true,
                        'declared' => 'Sylius\\Component\\Core\\Model\\ChannelPricing',
                    ],
                ],
            ],
            'fieldNames' => [
                [
                    'price' => 'price',
                    'original_price' => 'originalPrice',
                    'minimum_price' => 'minimumPrice',
                    'lowest_price_before_discount' => 'lowestPriceBeforeDiscount',
                    'channel_code' => 'channelCode',
                    'id' => 'id',
                ],
            ],
            'columnNames' => [
                [
                    'price' => 'price',
                    'originalPrice' => 'original_price',
                    'minimumPrice' => 'minimum_price',
                    'lowestPriceBeforeDiscount' => 'lowest_price_before_discount',
                    'channelCode' => 'channel_code',
                    'id' => 'id',
                ],
            ],
            'table' => [
                [
                    'name' => 'sylius_channel_pricing',
                    'uniqueConstraints' => [
                        'product_variant_channel_idx' => [
                            'columns' => [
                                'product_variant_id',
                                'channel_code',
                            ],
                        ],
                    ],
                ],
            ],
            'associationMappings' => [
                [
                    'productVariant' => [
                        'fieldName' => 'productVariant',
                        'targetEntity' => 'App\\Entity\\Product\\ProductVariant',
                        'inversedBy' => 'channelPricings',
                        'joinColumns' => [
                            [
                                'name' => 'product_variant_id',
                                'referencedColumnName' => 'id',
                                'nullable' => false,
                                'onDelete' => 'CASCADE',
                            ],
                        ],
                        'cascade' => [
                            'persist',
                        ],
                        'type' => 2,
                        'mappedBy' => null,
                        'isOwningSide' => true,
                        'sourceEntity' => 'App\\Entity\\Channel\\ChannelPricing',
                        'fetch' => 2,
                        'isCascadeRemove' => false,
                        'isCascadePersist' => true,
                        'isCascadeRefresh' => false,
                        'isCascadeMerge' => false,
                        'isCascadeDetach' => false,
                        'sourceToTargetKeyColumns' => [
                            'product_variant_id' => 'id',
                        ],
                        'joinColumnFieldNames' => [
                            'product_variant_id' => 'product_variant_id',
                        ],
                        'targetToSourceKeyColumns' => [
                            'id' => 'product_variant_id',
                        ],
                        'orphanRemoval' => false,
                        'declared' => 'Sylius\\Component\\Core\\Model\\ChannelPricing',
                    ],
                    'appliedPromotions' => [
                        'fieldName' => 'appliedPromotions',
                        'targetEntity' => 'App\\Entity\\Promotion\\CatalogPromotion',
                        'joinTable' => [
                            'name' => 'sylius_channel_pricing_catalog_promotions',
                            'joinColumns' => [
                                [
                                    'name' => 'channel_pricing_id',
                                    'referencedColumnName' => 'id',
                                    'nullable' => false,
                                ],
                            ],
                            'inverseJoinColumns' => [
                                [
                                    'name' => 'catalog_promotion_id',
                                    'referencedColumnName' => 'id',
                                    'nullable' => false,
                                ],
                            ],
                        ],
                        'orderBy' => [
                            'id' => 'ASC',
                        ],
                        'type' => 8,
                        'mappedBy' => null,
                        'inversedBy' => null,
                        'isOwningSide' => true,
                        'sourceEntity' => 'App\\Entity\\Channel\\ChannelPricing',
                        'fetch' => 2,
                        'cascade' => [],
                        'isCascadeRemove' => false,
                        'isCascadePersist' => false,
                        'isCascadeRefresh' => false,
                        'isCascadeMerge' => false,
                        'isCascadeDetach' => false,
                        'joinTableColumns' => [
                            'channel_pricing_id',
                            'catalog_promotion_id',
                        ],
                        'relationToSourceKeyColumns' => [
                            'channel_pricing_id' => 'id',
                        ],
                        'relationToTargetKeyColumns' => [
                            'catalog_promotion_id' => 'id',
                        ],
                        'orphanRemoval' => false,
                    ],
                ],
            ],
            'idGenerator' => [
                $o[1],
            ],
        ],
    ],
    $o[0],
    []
)];
