<?php //%255BApp%255CEntity%255CInvoice%2524CLASSMETADATA%255D%255B1%255D

return [PHP_INT_MAX, static function () { return \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\\Invoice',
            ],
            'namespace' => [
                'App\\Entity',
            ],
            'rootEntityName' => [
                'App\\Entity\\Invoice',
            ],
            'customRepositoryClassName' => [
                'App\\Repository\\InvoiceRepository',
            ],
            'identifier' => [
                [
                    'id',
                ],
            ],
            'generatorType' => [
                4,
            ],
            'fieldMappings' => [
                [
                    'id' => [
                        'fieldName' => 'id',
                        'type' => 'integer',
                        'scale' => 0,
                        'length' => null,
                        'unique' => false,
                        'nullable' => false,
                        'precision' => 0,
                        'columnName' => 'id',
                        'id' => true,
                    ],
                    'invoiceNumber' => [
                        'fieldName' => 'invoiceNumber',
                        'type' => 'string',
                        'scale' => 0,
                        'length' => 50,
                        'unique' => false,
                        'nullable' => false,
                        'precision' => 0,
                        'columnName' => 'invoice_number',
                    ],
                    'createdAt' => [
                        'fieldName' => 'createdAt',
                        'type' => 'datetime',
                        'scale' => 0,
                        'length' => null,
                        'unique' => false,
                        'nullable' => false,
                        'precision' => 0,
                        'columnName' => 'created_at',
                    ],
                    'timezone' => [
                        'fieldName' => 'timezone',
                        'type' => 'string',
                        'scale' => 0,
                        'length' => 64,
                        'unique' => false,
                        'nullable' => false,
                        'precision' => 0,
                        'columnName' => 'timezone',
                    ],
                    'total' => [
                        'fieldName' => 'total',
                        'type' => 'float',
                        'scale' => 0,
                        'length' => null,
                        'unique' => false,
                        'nullable' => false,
                        'precision' => 0,
                        'columnName' => 'total',
                    ],
                    'tax' => [
                        'fieldName' => 'tax',
                        'type' => 'float',
                        'scale' => 0,
                        'length' => null,
                        'unique' => false,
                        'nullable' => false,
                        'precision' => 0,
                        'columnName' => 'tax',
                    ],
                    'currency' => [
                        'fieldName' => 'currency',
                        'type' => 'string',
                        'scale' => 0,
                        'length' => 3,
                        'unique' => false,
                        'nullable' => false,
                        'precision' => 0,
                        'columnName' => 'currency',
                    ],
                    'dueDays' => [
                        'fieldName' => 'dueDays',
                        'type' => 'integer',
                        'scale' => 0,
                        'length' => 3,
                        'unique' => false,
                        'nullable' => false,
                        'precision' => 0,
                        'columnName' => 'due_days',
                    ],
                    'vat' => [
                        'fieldName' => 'vat',
                        'type' => 'float',
                        'scale' => 0,
                        'length' => null,
                        'unique' => false,
                        'nullable' => false,
                        'precision' => 0,
                        'columnName' => 'vat',
                    ],
                    'status' => [
                        'fieldName' => 'status',
                        'type' => 'string',
                        'scale' => 0,
                        'length' => 20,
                        'unique' => false,
                        'nullable' => false,
                        'precision' => 0,
                        'columnName' => 'status',
                    ],
                    'invoiceFilename' => [
                        'fieldName' => 'invoiceFilename',
                        'type' => 'string',
                        'scale' => 0,
                        'length' => 150,
                        'unique' => false,
                        'nullable' => false,
                        'precision' => 0,
                        'columnName' => 'invoice_filename',
                    ],
                ],
            ],
            'fieldNames' => [
                [
                    'id' => 'id',
                    'invoice_number' => 'invoiceNumber',
                    'created_at' => 'createdAt',
                    'timezone' => 'timezone',
                    'total' => 'total',
                    'tax' => 'tax',
                    'currency' => 'currency',
                    'due_days' => 'dueDays',
                    'vat' => 'vat',
                    'status' => 'status',
                    'invoice_filename' => 'invoiceFilename',
                ],
            ],
            'columnNames' => [
                [
                    'id' => 'id',
                    'invoiceNumber' => 'invoice_number',
                    'createdAt' => 'created_at',
                    'timezone' => 'timezone',
                    'total' => 'total',
                    'tax' => 'tax',
                    'currency' => 'currency',
                    'dueDays' => 'due_days',
                    'vat' => 'vat',
                    'status' => 'status',
                    'invoiceFilename' => 'invoice_filename',
                ],
            ],
            'table' => [
                [
                    'name' => 'kimai2_invoices',
                    'uniqueConstraints' => [
                        [
                            'columns' => [
                                'invoice_number',
                            ],
                        ],
                        [
                            'columns' => [
                                'invoice_filename',
                            ],
                        ],
                    ],
                ],
            ],
            'associationMappings' => [
                [
                    'customer' => [
                        'fieldName' => 'customer',
                        'joinColumns' => [
                            [
                                'name' => 'customer_id',
                                'unique' => false,
                                'nullable' => false,
                                'onDelete' => 'CASCADE',
                                'columnDefinition' => null,
                                'referencedColumnName' => 'id',
                            ],
                        ],
                        'cascade' => [],
                        'inversedBy' => null,
                        'targetEntity' => 'App\\Entity\\Customer',
                        'fetch' => 2,
                        'type' => 2,
                        'mappedBy' => null,
                        'isOwningSide' => true,
                        'sourceEntity' => 'App\\Entity\\Invoice',
                        'isCascadeRemove' => false,
                        'isCascadePersist' => false,
                        'isCascadeRefresh' => false,
                        'isCascadeMerge' => false,
                        'isCascadeDetach' => false,
                        'sourceToTargetKeyColumns' => [
                            'customer_id' => 'id',
                        ],
                        'joinColumnFieldNames' => [
                            'customer_id' => 'customer_id',
                        ],
                        'targetToSourceKeyColumns' => [
                            'id' => 'customer_id',
                        ],
                        'orphanRemoval' => false,
                    ],
                    'user' => [
                        'fieldName' => 'user',
                        'joinColumns' => [
                            [
                                'name' => 'user_id',
                                'unique' => false,
                                'nullable' => false,
                                'onDelete' => 'CASCADE',
                                'columnDefinition' => null,
                                'referencedColumnName' => 'id',
                            ],
                        ],
                        'cascade' => [],
                        'inversedBy' => null,
                        'targetEntity' => 'App\\Entity\\User',
                        'fetch' => 2,
                        'type' => 2,
                        'mappedBy' => null,
                        'isOwningSide' => true,
                        'sourceEntity' => 'App\\Entity\\Invoice',
                        'isCascadeRemove' => false,
                        'isCascadePersist' => false,
                        'isCascadeRefresh' => false,
                        'isCascadeMerge' => false,
                        'isCascadeDetach' => false,
                        'sourceToTargetKeyColumns' => [
                            'user_id' => 'id',
                        ],
                        'joinColumnFieldNames' => [
                            'user_id' => 'user_id',
                        ],
                        'targetToSourceKeyColumns' => [
                            'id' => 'user_id',
                        ],
                        'orphanRemoval' => false,
                    ],
                ],
            ],
            'idGenerator' => [
                $o[1],
            ],
        ],
    ],
    $o[0],
    []
); }];
