23 lines
498 B
PHP
23 lines
498 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Domain\Models\ValueObjects;
|
|
|
|
use Carbon\CarbonInterface;
|
|
|
|
final readonly class EmployeeUpsertData
|
|
{
|
|
public function __construct(
|
|
public Matricule $matricule,
|
|
public string $nom,
|
|
public string $prenom,
|
|
public string $etablissement,
|
|
public string $service,
|
|
public string $site,
|
|
public CarbonInterface $startDate,
|
|
public ?CarbonInterface $endDate,
|
|
public Code $code
|
|
) {
|
|
}
|
|
}
|