feat(person): initial Person domain with entity, model and DTO
PHP Unit Tests / test (push) Has been cancelled

- Add PersonEntity in Data layer with Doctrine ORM attributes
- Add PersonModel in Logic layer for business logic
- Add immutable PersonDto in Shared layer
- Configure doctrine/orm dependency in composer.json
- Add Doctrine deprecation triggers to phpunit configuration
This commit is contained in:
2026-06-08 20:08:01 +02:00
parent e56d712503
commit 98f4e126fc
7 changed files with 257 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
declare(strict_types=1);
namespace App\Shared\Person\DTO;
readonly final class PersonDto
{
public function __construct(
public int $id,
public string $anrede,
public string $vorname,
public string $name,
public string $geschlecht,
public ?string $titel = null,
public ?string $funktionstitel = null,
) {
}
}