<?php
declare(strict_types=1);
namespace BitBag\OpenMarketplace\Component\Inquiry\Entity;
use BitBag\OpenMarketplace\Component\Customer\Model\CustomerInterface;
use Sylius\Component\Resource\Model\TimestampableTrait;
class Message implements MessageInterface
{
use TimestampableTrait;
private ?int $id = null;
private ?InquiryInterface $inquiry = null;
private ?CustomerInterface $customer = null;
private ?string $message = null;
public function getId(): ?int
{
return $this->id;
}
public function getInquiry(): ?InquiryInterface
{
return $this->inquiry;
}
public function setInquiry(?InquiryInterface $inquiry): void
{
$this->inquiry = $inquiry;
}
public function getCustomer(): ?CustomerInterface
{
return $this->customer;
}
public function setCustomer(?CustomerInterface $customer): void
{
$this->customer = $customer;
}
public function getMessage(): ?string
{
return $this->message;
}
public function setMessage(?string $message): void
{
$this->message = $message;
}
}