<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
class CommunicationEntry {
/**
* @var integer
*/
private $id;
/**
* @var \App\Entity\Communication
*/
private $communication;
/**
* @var \App\Entity\CommunicationType
*/
private $communicationType;
/**
* @var string
*/
private $entryValue;
/**
* @var \DateTime|null
*/
private $changeDate;
/**
* @var \DateTime
*/
private $createdAt;
/**
* Get id
*
* @return integer
*/
public function getId() {
return $this->id;
}
/**
* Set communication
*
* @param \App\Entity\Communication $communication
*
* @return CommunicationEntry
*/
public function setCommunication(\App\Entity\Communication $communication = null) {
$this->communication = $communication;
return $this;
}
/**
* Get communication
*
* @return \App\Entity\Communication
*/
public function getCommunication() {
return $this->communication;
}
/**
* Set communicationType
*
* @param \App\Entity\CommunicationType $communicationType
*
* @return CommunicationEntry
*/
public function setCommunicationType(\App\Entity\CommunicationType $communicationType = null) {
$this->communicationType = $communicationType;
return $this;
}
/**
* Get communicationType
*
* @return \App\Entity\CommunicationType
*/
public function getCommunicationType() {
return $this->communicationType;
}
/**
* Set changeDate.
*
* @param \DateTime|null $changeDate
*
* @return CommunicationEntry
*/
public function setChangeDate($changeDate = null) {
$this->changeDate = $changeDate;
return $this;
}
/**
* Get changeDate.
*
* @return \DateTime|null
*/
public function getChangeDate() {
return $this->changeDate;
}
/**
* Set createdAt.
*
* @param \DateTime $createdAt
*
* @return CommunicationEntry
*/
public function setCreatedAt($createdAt) {
$this->createdAt = $createdAt;
return $this;
}
/**
* Get createdAt.
*
* @return \DateTime
*/
public function getCreatedAt() {
return $this->createdAt;
}
/**
* Set entryValue.
*
* @param string $entryValue
*
* @return CommunicationEntry
*/
public function setEntryValue($entryValue) {
$this->entryValue = $entryValue;
return $this;
}
/**
* Get entryValue.
*
* @return string
*/
public function getEntryValue() {
return $this->entryValue;
}
}