<?php

namespace HelpGent\App\DTO;

defined( 'ABSPATH' ) || exit;

use HelpGent\WpMVC\DTO\DTO;

class OpenEndedTextInnerDTO extends DTO {
    private int $id;

    private int $answer_id;

    private ?string $url = null;

    private ?string $price = null;

    private ?string $doc = null;

    private ?string $phone_number = null;

    private ?int $file = null;

    /**
     * Get the value of id
     *
     * @return int
     */
    public function get_id(): int {
        return $this->id;
    }

    /**
     * Set the value of id
     *
     * @param int $id
     * @return self
     */
    public function set_id( int $id ): self {
        $this->id = $id;

        return $this;
    }

    /**
     * Get the value of answer_id
     *
     * @return int
     */
    public function get_answer_id(): int {
        return $this->answer_id;
    }

    /**
     * Set the value of answer_id
     *
     * @param int $answer_id
     * @return self
     */
    public function set_answer_id( int $answer_id ): self {
        $this->answer_id = $answer_id;

        return $this;
    }

    /**
     * Get the value of url
     *
     * @return ?string
     */
    public function get_url(): ?string {
        return $this->url;
    }

    /**
     * Set the value of url
     *
     * @param ?string $url
     * @return self
     */
    public function set_url( ?string $url ): self {
        $this->url = $url;

        return $this;
    }

    /**
     * Get the value of price
     *
     * @return ?string
     */
    public function get_price(): ?string {
        return $this->price;
    }

    /**
     * Set the value of price
     *
     * @param ?string $price
     * @return self
     */
    public function set_price( ?string $price ): self {
        $this->price = $price;

        return $this;
    }

    /**
     * Get the value of doc
     *
     * @return ?string
     */
    public function get_doc(): ?string {
        return $this->doc;
    }

    /**
     * Set the value of doc
     *
     * @param ?string $doc
     * @return self
     */
    public function set_doc( ?string $doc ): self {
        $this->doc = $doc;

        return $this;
    }

    /**
     * Get the value of phone_number
     *
     * @return ?string
     */
    public function get_phone_number(): ?string {
        return $this->phone_number;
    }

    /**
     * Set the value of phone_number
     *
     * @param ?string $phone_number
     * @return self
     */
    public function set_phone_number( ?string $phone_number ): self {
        $this->phone_number = $phone_number;

        return $this;
    }

    /**
     * Get the value of file
     *
     * @return ?int
     */
    public function get_file(): ?int {
        return $this->file;
    }

    /**
     * Set the value of file
     *
     * @param ?int $file
     * @return self
     */
    public function set_file( ?int $file ): self {
        $this->file = $file;

        return $this;
    }
}