<?php //App__Entity__PosSession__CLASSMETADATA__

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\\PosSession',
            ],
            'namespace' => [
                'App\\Entity',
            ],
            'rootEntityName' => [
                'App\\Entity\\PosSession',
            ],
            'customRepositoryClassName' => [
                'App\\Repository\\PosSessionRepository',
            ],
            'identifier' => [
                [
                    'id',
                ],
            ],
            'generatorType' => [
                4,
            ],
            'fieldMappings' => [
                [
                    'id' => [
                        'fieldName' => 'id',
                        'type' => 'integer',
                        'scale' => null,
                        'length' => null,
                        'unique' => false,
                        'nullable' => false,
                        'precision' => null,
                        'id' => true,
                        'columnName' => 'id',
                    ],
                    'status' => [
                        'fieldName' => 'status',
                        'type' => 'string',
                        'scale' => null,
                        'length' => 32,
                        'unique' => false,
                        'nullable' => false,
                        'precision' => null,
                        'options' => [
                            'default' => 'open',
                        ],
                        'columnName' => 'status',
                    ],
                    'storehouse' => [
                        'fieldName' => 'storehouse',
                        'type' => 'string',
                        'scale' => null,
                        'length' => 120,
                        'unique' => false,
                        'nullable' => false,
                        'precision' => null,
                        'options' => [
                            'default' => 'Principal',
                        ],
                        'columnName' => 'storehouse',
                    ],
                    'openingAmount' => [
                        'fieldName' => 'openingAmount',
                        'type' => 'decimal',
                        'scale' => 3,
                        'length' => null,
                        'unique' => false,
                        'nullable' => false,
                        'precision' => 12,
                        'options' => [
                            'default' => '0.000',
                        ],
                        'columnName' => 'opening_amount',
                    ],
                    'expectedClosingAmount' => [
                        'fieldName' => 'expectedClosingAmount',
                        'type' => 'decimal',
                        'scale' => 3,
                        'length' => null,
                        'unique' => false,
                        'nullable' => true,
                        'precision' => 12,
                        'columnName' => 'expected_closing_amount',
                    ],
                    'declaredClosingAmount' => [
                        'fieldName' => 'declaredClosingAmount',
                        'type' => 'decimal',
                        'scale' => 3,
                        'length' => null,
                        'unique' => false,
                        'nullable' => true,
                        'precision' => 12,
                        'columnName' => 'declared_closing_amount',
                    ],
                    'totalSalesAmount' => [
                        'fieldName' => 'totalSalesAmount',
                        'type' => 'decimal',
                        'scale' => 3,
                        'length' => null,
                        'unique' => false,
                        'nullable' => true,
                        'precision' => 12,
                        'columnName' => 'total_sales_amount',
                    ],
                    'openedAt' => [
                        'fieldName' => 'openedAt',
                        'type' => 'datetime',
                        'scale' => null,
                        'length' => null,
                        'unique' => false,
                        'nullable' => false,
                        'precision' => null,
                        'columnName' => 'opened_at',
                    ],
                    'closedAt' => [
                        'fieldName' => 'closedAt',
                        'type' => 'datetime',
                        'scale' => null,
                        'length' => null,
                        'unique' => false,
                        'nullable' => true,
                        'precision' => null,
                        'columnName' => 'closed_at',
                    ],
                    'openingNote' => [
                        'fieldName' => 'openingNote',
                        'type' => 'text',
                        'scale' => null,
                        'length' => null,
                        'unique' => false,
                        'nullable' => true,
                        'precision' => null,
                        'columnName' => 'opening_note',
                    ],
                    'closingNote' => [
                        'fieldName' => 'closingNote',
                        'type' => 'text',
                        'scale' => null,
                        'length' => null,
                        'unique' => false,
                        'nullable' => true,
                        'precision' => null,
                        'columnName' => 'closing_note',
                    ],
                ],
            ],
            'fieldNames' => [
                [
                    'id' => 'id',
                    'status' => 'status',
                    'storehouse' => 'storehouse',
                    'opening_amount' => 'openingAmount',
                    'expected_closing_amount' => 'expectedClosingAmount',
                    'declared_closing_amount' => 'declaredClosingAmount',
                    'total_sales_amount' => 'totalSalesAmount',
                    'opened_at' => 'openedAt',
                    'closed_at' => 'closedAt',
                    'opening_note' => 'openingNote',
                    'closing_note' => 'closingNote',
                ],
            ],
            'columnNames' => [
                [
                    'id' => 'id',
                    'status' => 'status',
                    'storehouse' => 'storehouse',
                    'openingAmount' => 'opening_amount',
                    'expectedClosingAmount' => 'expected_closing_amount',
                    'declaredClosingAmount' => 'declared_closing_amount',
                    'totalSalesAmount' => 'total_sales_amount',
                    'openedAt' => 'opened_at',
                    'closedAt' => 'closed_at',
                    'openingNote' => 'opening_note',
                    'closingNote' => 'closing_note',
                ],
            ],
            'table' => [
                [
                    'name' => 'pos_session',
                ],
            ],
            'associationMappings' => [
                [
                    '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\\PosSession',
                        '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,
                    ],
                    'documents' => [
                        'fieldName' => 'documents',
                        'mappedBy' => 'posSession',
                        'targetEntity' => 'App\\Entity\\Document',
                        'cascade' => [],
                        'orphanRemoval' => false,
                        'fetch' => 2,
                        'type' => 4,
                        'inversedBy' => null,
                        'isOwningSide' => false,
                        'sourceEntity' => 'App\\Entity\\PosSession',
                        'isCascadeRemove' => false,
                        'isCascadePersist' => false,
                        'isCascadeRefresh' => false,
                        'isCascadeMerge' => false,
                        'isCascadeDetach' => false,
                    ],
                    'payments' => [
                        'fieldName' => 'payments',
                        'mappedBy' => 'session',
                        'targetEntity' => 'App\\Entity\\PosPayment',
                        'cascade' => [],
                        'orphanRemoval' => false,
                        'fetch' => 2,
                        'type' => 4,
                        'inversedBy' => null,
                        'isOwningSide' => false,
                        'sourceEntity' => 'App\\Entity\\PosSession',
                        'isCascadeRemove' => false,
                        'isCascadePersist' => false,
                        'isCascadeRefresh' => false,
                        'isCascadeMerge' => false,
                        'isCascadeDetach' => false,
                    ],
                ],
            ],
            'idGenerator' => [
                $o[1],
            ],
        ],
    ],
    $o[0],
    []
); }];
