Files
pinecore/tests/Fixtures/Orm/MixedPropsEntity.php
pronchev 9470fa521b Rename package from pronchev/pinecore to pinecore/pinecore
Updates the composer name, PSR-4 namespace (Pronchev\Pinecore →
Pinecore\Pinecore), test namespace, and all docs to reflect the new
repository owner.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 04:20:23 +03:00

19 lines
521 B
PHP

<?php
namespace Tests\Pinecore\Pinecore\Fixtures\Orm;
use Pinecore\Pinecore\Model\MongoEntity;
use Pinecore\Pinecore\Orm\Attributes\Collection;
use Pinecore\Pinecore\Orm\Attributes\Field;
use Pinecore\Pinecore\Orm\Attributes\Id;
#[Collection(name: 'mixed_props')]
final class MixedPropsEntity implements MongoEntity
{
public function __construct(
#[Id] public readonly string $id,
#[Field] public readonly string $email,
public readonly string $untagged = 'ignored',
) {}
}