<?php

declare(strict_types=1);

namespace App\Modules\Surveys\Domain;

class SurveyPublication
{
    public function __construct(
        private readonly string $id,
        private readonly string $surveyId,
        private readonly string $surveyTitle,
        private readonly string $versionLabel,
        private readonly string $publishedAt,
        private readonly string $publishedBy,
        private readonly bool $memberVisible,
        private readonly int $responseCount,
        private readonly string $summary,
    ) {
    }

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

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

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

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

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

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

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

    public function responseCount(): int
    {
        return $this->responseCount;
    }

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