<?php

declare(strict_types=1);

namespace App\Business\Integration\DTOs;

/**
 * 同步上下文 DTO 占位：后续承载批次号、来源单号、幂等键等。
 */
final readonly class SyncContext
{
    public function __construct(
        public string $channel,
        public string $direction,
        public string $objectType,
        public ?string $reference = null,
        public ?string $correlationId = null,
        public ?string $sourceSystem = null,
        public ?string $targetSystem = 'dberp',
        public ?string $idempotencyKey = null,
        public ?int $operatorId = null,
    ) {}
}
