Files
Veranstaltungen/src/Shared/Person/DTO/PersonDto.php
T
jens 98f4e126fc
PHP Unit Tests / test (push) Has been cancelled
feat(person): initial Person domain with entity, model and DTO
- 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
2026-06-08 20:08:01 +02:00

20 lines
385 B
PHP

<?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,
) {
}
}