<?php //App.Entity.Parts.PartAssociation

return [PHP_INT_MAX, static fn () => \Symfony\Component\VarExporter\Internal\Hydrator::hydrate(
    $o = [
        (($f = &\Symfony\Component\VarExporter\Internal\Registry::$factories)['Symfony\\Component\\Validator\\Mapping\\ClassMetadata'] ?? \Symfony\Component\VarExporter\Internal\Registry::f('Symfony\\Component\\Validator\\Mapping\\ClassMetadata'))(),
        clone (($p = &\Symfony\Component\VarExporter\Internal\Registry::$prototypes)['Symfony\\Bridge\\Doctrine\\Validator\\Constraints\\UniqueEntity'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Bridge\\Doctrine\\Validator\\Constraints\\UniqueEntity')),
        ($f['Symfony\\Component\\Validator\\Mapping\\PropertyMetadata'] ?? \Symfony\Component\VarExporter\Internal\Registry::f('Symfony\\Component\\Validator\\Mapping\\PropertyMetadata'))(),
        clone ($p['Symfony\\Component\\Validator\\Constraints\\Expression'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\Validator\\Constraints\\Expression')),
        clone ($p['Symfony\\Component\\Validator\\Constraints\\Length'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\Validator\\Constraints\\Length')),
        $f['Symfony\\Component\\Validator\\Mapping\\PropertyMetadata'](),
        clone ($p['Symfony\\Component\\Validator\\Constraints\\NotNull'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\Validator\\Constraints\\NotNull')),
        $f['Symfony\\Component\\Validator\\Mapping\\PropertyMetadata'](),
        clone $p['Symfony\\Component\\Validator\\Constraints\\NotNull'],
        clone $p['Symfony\\Component\\Validator\\Constraints\\Expression'],
    ],
    null,
    [
        'stdClass' => [
            'constraints' => [
                [
                    $o[1],
                ],
                2 => [
                    $o[3],
                    $o[4],
                ],
                5 => [
                    $o[6],
                ],
                7 => [
                    $o[8],
                    $o[9],
                ],
            ],
            'constraintsByGroup' => [
                [
                    'Default' => [
                        $o[1],
                    ],
                    'PartAssociation' => [
                        $o[1],
                    ],
                ],
                2 => [
                    'Default' => [
                        $o[3],
                        $o[4],
                    ],
                    'PartAssociation' => [
                        $o[3],
                        $o[4],
                    ],
                ],
                5 => [
                    'Default' => [
                        $o[6],
                    ],
                    'PartAssociation' => [
                        $o[6],
                    ],
                ],
                7 => [
                    'Default' => [
                        $o[8],
                        $o[9],
                    ],
                    'PartAssociation' => [
                        $o[8],
                        $o[9],
                    ],
                ],
            ],
            'name' => [
                'App\\Entity\\Parts\\PartAssociation',
                2 => 'other_type',
                5 => 'owner',
                7 => 'other',
            ],
            'defaultGroup' => [
                'PartAssociation',
            ],
            'members' => [
                [
                    'other_type' => [
                        $o[2],
                    ],
                    'owner' => [
                        $o[5],
                    ],
                    'other' => [
                        $o[7],
                    ],
                ],
            ],
            'properties' => [
                [
                    'other_type' => $o[2],
                    'owner' => $o[5],
                    'other' => $o[7],
                ],
            ],
            'groups' => [
                1 => [
                    'Default',
                    'PartAssociation',
                ],
                3 => [
                    'Default',
                    'PartAssociation',
                ],
                [
                    'Default',
                    'PartAssociation',
                ],
                6 => [
                    'Default',
                    'PartAssociation',
                ],
                8 => [
                    'Default',
                    'PartAssociation',
                ],
                [
                    'Default',
                    'PartAssociation',
                ],
            ],
            'message' => [
                1 => 'validator.part_association.already_exists',
                3 => 'validator.part_association.must_set_an_value_if_type_is_other',
                9 => 'validator.part_association.part_cannot_be_associated_with_itself',
            ],
            'fields' => [
                1 => [
                    'other',
                    'owner',
                    'type',
                ],
            ],
            'class' => [
                2 => 'App\\Entity\\Parts\\PartAssociation',
                5 => 'App\\Entity\\Parts\\PartAssociation',
                7 => 'App\\Entity\\Parts\\PartAssociation',
            ],
            'property' => [
                2 => 'other_type',
                5 => 'owner',
                7 => 'other',
            ],
            'expression' => [
                3 => 'this.getType().value !== 0 or this.getOtherType() !== null',
                9 => 'this.getOwner() !== this.getOther()',
            ],
            'max' => [
                4 => 255,
            ],
        ],
    ],
    $o[0],
    []
)];
