<?php

namespace App\Message;

final class NegotiationMessage
{
    /**
     * @var string
     */
    private $from;
    /**
     * @var string
     */
    private $to;
    /**
     * @var string
     */
    private $title;
    /**
     * @var string
     */
    private $body;
    /**
     * @var int
     */
    private $id;
    /**
     * @var string
     */
    private $attachContent;

    public function __construct(int $id, string $from, string $to, string $title, string $body, string $attachContent)
    {
        $this->from = $from;
        $this->to = $to;
        $this->title = $title;
        $this->body = $body;
        $this->id = $id;
        $this->attachContent = $attachContent;
    }

    /**
     * @return string
     */
    public function getFrom(): string
    {
        return $this->from;
    }

    /**
     * @return string
     */
    public function getTo(): string
    {
        return $this->to;
    }

    /**
     * @return string
     */
    public function getTitle(): string
    {
        return $this->title;
    }

    /**
     * @return string
     */
    public function getBody(): string
    {
        return $this->body;
    }

    /**
     * @return int
     */
    public function getId(): int
    {
        return $this->id;
    }

    /**
     * @return string
     */
    public function getAttachContent(): string
    {
        return $this->attachContent;
    }
}
