- Implement automated synchronization of employees via Arcadia API (EmployeeSyncService, SynchronizeEmployeesWithArcadiaApi, FetchAndUpsertArcadiaEmployees) - Add Back-Office application settings for employee sites (Setting singleton, GetSettingsQuery, UpdateSettings, SettingsController, EmployeeSitesInputComponent.vue) - Strongly type Employee attributes using Domain Value Objects (ShopperEstablishmentCode, ShopperSiteCode, ShopperServiceCode) and Eloquent Casts - Migrate pagination from Domain to Shared\Pagination namespace across queries and inputs - Remove legacy and dead CSV employee import/export code - Restore Domain\Ports\Services\CsvGenerator interface for Regate order generation - Add comprehensive Pest unit, integration, and feature test coverage
21 lines
522 B
PHP
21 lines
522 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Domain\Models\ValueObjects;
|
|
|
|
final readonly class EmployeeUpsertData
|
|
{
|
|
public function __construct(
|
|
public Matricule $matricule,
|
|
public string $firstname,
|
|
public string $lastname,
|
|
public ShopperEstablishmentCode $etablissement,
|
|
public ShopperServiceCode $service,
|
|
public ShopperSiteCode $site,
|
|
public \DateTimeInterface $startDate,
|
|
public ?\DateTimeInterface $endDate,
|
|
public Code $code
|
|
) {
|
|
}
|
|
}
|