Skip to content

Commit

Permalink
separate attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
garak committed Sep 30, 2024
1 parent e07fb4a commit f76e781
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/Tests/Models/ReadonlyProperties/Library.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@
use Doctrine\ORM\Mapping\Table;
use Doctrine\Tests\Models\ValueObjects\Uuid;

#[Entity, Table(name: 'library')]
#[Entity]
#[Table(name: 'library')]
class Library
{
#[Column, Id, GeneratedValue(strategy: 'NONE')]
#[Column]
#[Id]
#[GeneratedValue(strategy: 'NONE')]
public readonly Uuid $uuid;
}

0 comments on commit f76e781

Please sign in to comment.