<?php
namespace Cms\ModuleBundle\Entity;
use DateTime;
use Doctrine\ORM\Mapping as ORM;
/**
* Class History
* @package Cms\ModuleBundle\Entity
*
* @ORM\MappedSuperclass
*/
abstract class History extends ModuleEntity
{
/**
* @var Proxy
*/
protected $proxy = null;
/**
* @var DateTime
*
* @ORM\Column(
* type = "datetime",
* nullable = false
* )
*/
protected $timestamp = null;
/**
* @return Proxy
*/
public function getProxy()
{
return $this->proxy;
}
/**
* @return DateTime
*/
public function getTimestamp()
{
return $this->timestamp;
}
/**
* @param Proxy $value
* @return $this
*/
public function setProxy(Proxy $value)
{
$this->proxy = $value;
return $this;
}
/**
* @param DateTime $value
* @return $this
*/
public function setTimestamp(DateTime $value)
{
$this->timestamp = $value;
return $this;
}
}