|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <?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;
- }
- }
|