<?php

declare(strict_types=1);

namespace App\Modules\Imports\Jobs;

class ImportJob
{
    public function __construct(
        private readonly string $id,
        private readonly string $tenantId,
        private readonly string $type,
        private readonly string $status,
        private readonly string $scheduledAt,
        private readonly bool $runViaCron,
    ) {
    }

    public function id(): string
    {
        return $this->id;
    }

    public function tenantId(): string
    {
        return $this->tenantId;
    }

    public function type(): string
    {
        return $this->type;
    }

    public function status(): string
    {
        return $this->status;
    }

    public function scheduledAt(): string
    {
        return $this->scheduledAt;
    }

    public function runViaCron(): bool
    {
        return $this->runViaCron;
    }
}
