- <?php
-
- namespace Lc\ShopBundle\Model;
-
- use App\Entity\Ticket;
- use Doctrine\ORM\Mapping as ORM;
- use Lc\ShopBundle\Context\TicketInterface;
- use Gedmo\Mapping\Annotation as Gedmo;
-
-
- abstract class TicketMessage extends AbstractEntity
- {
- use StatusTrait;
-
-
-
- protected $createdBy;
-
-
-
- protected $updatedBy;
-
-
-
- protected $message;
-
-
-
- protected $ticket;
-
-
-
- protected $answerByAdmin;
-
- public function __toString()
- {
- return $this->message;
- }
-
- public function getMessage(): ?string
- {
- return $this->message;
- }
-
- public function setMessage(string $message): self
- {
- $this->message = $message;
-
- return $this;
- }
-
- public function getTicket(): ?TicketInterface
- {
- return $this->ticket;
- }
-
- public function setTicket(?TicketInterface $ticket): self
- {
- $this->ticket = $ticket;
-
- return $this;
- }
-
- public function getAnswerByAdmin(): ?bool
- {
- return $this->answerByAdmin;
- }
-
- public function setAnswerByAdmin(?bool $answerByAdmin): self
- {
- $this->answerByAdmin = $answerByAdmin;
-
- return $this;
- }
- }
|