You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
2.1KB

  1. <?php
  2. namespace Lc\SovBundle\Model\Ticket;
  3. use Doctrine\Common\Collections\Collection;
  4. use Lc\SovBundle\Model\User\UserInterface;
  5. interface TicketInterface
  6. {
  7. public function getCreatedBy(): ?UserInterface;
  8. public function setCreatedBy(?UserInterface $createdBy);
  9. public function getUpdatedBy(): ?UserInterface;
  10. public function setUpdatedBy(?UserInterface $updatedBy);
  11. public function getDevAlias(): ?string;
  12. public function setDevAlias(?string $devAlias);
  13. public function getType(): ?string;
  14. public function setType(string $type): TicketInterface;
  15. public function getStatus(): ?string;
  16. public function setStatus(string $status);
  17. public function getSubject(): ?string;
  18. public function setSubject(string $subject): TicketInterface;
  19. public function getTags(): ?array;
  20. public function setTags(?array $tags): TicketInterface;
  21. public function getVisitorFirstname(): ?string;
  22. public function setVisitorFirstname(?string $visitorFirstname): TicketInterface;
  23. public function getVisitorLastname(): ?string;
  24. public function setVisitorLastname(?string $visitorLastname): TicketInterface;
  25. public function getVisitorEmail(): ?string;
  26. public function setVisitorEmail(?string $visitorEmail): TicketInterface;
  27. public function getVisitorToken(): ?string;
  28. public function setVisitorToken(?string $visitorToken): TicketInterface;
  29. /**
  30. * @return Collection|TicketMessageInterface[]
  31. */
  32. public function getTicketMessages(): Collection;
  33. public function addTicketMessage(TicketMessageInterface $ticketMessage): TicketInterface;
  34. public function removeTicketMessage(TicketMessageInterface $ticketMessage): TicketInterface;
  35. public function getUser(): ?UserInterface;
  36. public function setUser(?UserInterface $user): TicketInterface;
  37. public function getCreatedAt(): ?\DateTimeInterface;
  38. public function setCreatedAt(\DateTimeInterface $createdAt);
  39. public function getUpdatedAt(): ?\DateTimeInterface;
  40. public function setUpdatedAt(\DateTimeInterface $updatedAt);
  41. }