feat : restructuration des dossiers pour implementer plus facilement la suite des WS
This commit is contained in:
20
src/Bovin/Dto/AnimalFileDto.php
Normal file
20
src/Bovin/Dto/AnimalFileDto.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Malio\EdnotifBundle\Bovin\Dto;
|
||||
|
||||
use Malio\EdnotifBundle\Shared\Dto\StandardResponseDto;
|
||||
|
||||
final readonly class AnimalFileDto
|
||||
{
|
||||
/**
|
||||
* @param list<PresencePeriodDto> $presencePeriods
|
||||
*/
|
||||
public function __construct(
|
||||
public StandardResponseDto $standardResponse,
|
||||
public ?BovinIdentificationDto $identification,
|
||||
public array $presencePeriods,
|
||||
public ?object $rawSoapResponse, // pour garder 100% des data
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user