dateSend = new \DateTime(); } /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set dateSend * * @param \DateTime $dateSend * * @return ReportMessage */ public function setDateSend($dateSend) { $this->dateSend = $dateSend; return $this; } /** * Get dateSend * * @return \DateTime */ public function getDateSend() { return $this->dateSend; } /** * Set status * * @param string $status * * @return ReportMessage */ public function setStatus($status) { $this->status = $status; return $this; } /** * Get status * * @return string */ public function getStatus() { return $this->status; } /** * Set message * * @param \AppBundle\Entity\Message\Message $message * * @return ReportMessage */ public function setMessage(\AppBundle\Entity\Message\Message $message) { $this->message = $message; return $this; } /** * Get message * * @return \AppBundle\Entity\Message\Message */ public function getMessage() { return $this->message; } /** * Gets sms id * * @return string */ public function getSmsId() { return $this->smsId; } /** * Sets sms id * * @param string $smsId * @return $this */ public function setSmsId($smsId) { $this->smsId = $smsId; return $this; } /** * Set recipient * * @param string $recipientType * * @return ReportMessage */ public function setRecipientType($recipientType) { $this->recipientType = $recipientType; return $this; } /** * Get recipient * * @return string */ public function getRecipientType() { return $this->recipientType; } /** * Get the recipient id * * @return type */ public function getRecipientId() { return $this->recipientId; } /** * Set the recipient id * * @param type $recipientId * @return $this */ public function setRecipientId($recipientId) { $this->recipientId = $recipientId; return $this; } /** * {@inheritdoc} */ public function getRecipient() { if (!$this->recipient) { if ($this->reporterManager) { return $this->reporterManager->loadRecipient($this); } } return null; } /** * {@inheritdoc} */ public function setReportManagerr(ReporterManager $reporterManager) { $this->reporterManager = $reporterManager; } }