<?php

declare(strict_types=1);

namespace App\Domain\Reader\Domain\ValueObject;

readonly class ChapterId
{
    public function __construct(
        private string $value
    ) {
    }

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

    public function equals(self $other): bool
    {
        return $this->value === $other->value;
    }
}
