98f4e126fc
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
20 lines
385 B
PHP
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,
|
|
) {
|
|
}
|
|
}
|