<?php

namespace App\Modules\FactReceipt\Domain;

class DTOEtiquetasRI
{
    public function __construct(
        public string $Etiqueta1,
        public string $Valor1,
        public ?bool $MostrarEtiq1,

        public string $Etiqueta2,
        public string $Valor2,
        public ?bool $MostrarEtiq2,

        public string $Etiqueta3,
        public string $Valor3,
        public ?bool $MostrarEtiq3,

        public string $Etiqueta4,
        public string $Valor4,
        public ?bool $MostrarEtiq4,

        public string $Etiqueta5,
        public string $Valor5,
        public ?bool $MostrarEtiq5,

        public string $Etiqueta6,
        public string $Valor6,
        public ?bool $MostrarEtiq6,
    ) {
    }

    public function toObject(): array
    {
        return [
            'Etiqueta1' => $this->Etiqueta1,
            'Valor1' => $this->Valor1,
            'MostrarEtiq1' => $this->MostrarEtiq1,
            'Etiqueta2' => $this->Etiqueta2,
            'Valor2' => $this->Valor2,
            'MostrarEtiq2' => $this->MostrarEtiq2,
            'Etiqueta3' => $this->Etiqueta3,
            'Valor3' => $this->Valor3,
            'MostrarEtiq3' => $this->MostrarEtiq3,
            'Etiqueta4' => $this->Etiqueta4,
            'Valor4' => $this->Valor4,
            'MostrarEtiq4' => $this->MostrarEtiq4,
            'Etiqueta5' => $this->Etiqueta5,
            'Valor5' => $this->Valor5,
            'MostrarEtiq5' => $this->MostrarEtiq5,
            'Etiqueta6' => $this->Etiqueta6,
            'Valor6' => $this->Valor6,
            'MostrarEtiq6' => $this->MostrarEtiq6,
        ];
    }
}
