| Numéro du ticket | Titre du ticket | |------------------|-----------------| | | | ## Description de la PR ## Modification du .env ## Check list - [ ] Pas de régression - [x] TU/TI/TF rédigée - [x] TU/TI/TF OK - [ ] CHANGELOG modifié Reviewed-on: #2 Co-authored-by: tristan <tristan@yuno.malio.fr> Co-committed-by: tristan <tristan@yuno.malio.fr>
27 lines
673 B
PHP
27 lines
673 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Malio\EdnotifBundle\Bovin\Dto;
|
|
|
|
use DateTimeImmutable;
|
|
use Malio\EdnotifBundle\Shared\Dto\StandardResponseDto;
|
|
|
|
final readonly class InventoryDto
|
|
{
|
|
/**
|
|
* @param list<AnimalSummaryDto> $animals
|
|
* @param list<EarTagSeriesDto> $earTagSeries
|
|
*/
|
|
public function __construct(
|
|
public StandardResponseDto $standardResponse,
|
|
public int $nbBovins,
|
|
public ?DateTimeImmutable $startDate,
|
|
public ?DateTimeImmutable $endDate,
|
|
public ?bool $includesEarTagStock,
|
|
public array $animals,
|
|
public array $earTagSeries,
|
|
public ?object $rawSoapResponse,
|
|
) {}
|
|
}
|