src/Component/Inquiry/Entity/Message.php line 10

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace BitBag\OpenMarketplace\Component\Inquiry\Entity;
  4. use BitBag\OpenMarketplace\Component\Customer\Model\CustomerInterface;
  5. use Sylius\Component\Resource\Model\TimestampableTrait;
  6. class Message implements MessageInterface
  7. {
  8.     use TimestampableTrait;
  9.     private ?int $id null;
  10.     private ?InquiryInterface $inquiry null;
  11.     private ?CustomerInterface $customer null;
  12.     private ?string $message null;
  13.     public function getId(): ?int
  14.     {
  15.         return $this->id;
  16.     }
  17.     public function getInquiry(): ?InquiryInterface
  18.     {
  19.         return $this->inquiry;
  20.     }
  21.     public function setInquiry(?InquiryInterface $inquiry): void
  22.     {
  23.         $this->inquiry $inquiry;
  24.     }
  25.     public function getCustomer(): ?CustomerInterface
  26.     {
  27.         return $this->customer;
  28.     }
  29.     public function setCustomer(?CustomerInterface $customer): void
  30.     {
  31.         $this->customer $customer;
  32.     }
  33.     public function getMessage(): ?string
  34.     {
  35.         return $this->message;
  36.     }
  37.     public function setMessage(?string $message): void
  38.     {
  39.         $this->message $message;
  40.     }
  41. }