<?php
namespace CoreBundle\Entity;
/**
* PostLog
*/
class PostLog
{
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $update_date;
/**
* @var User
*/
private $user;
/**
* @var string
*/
private $old_value;
/**
* @var string
*/
private $new_value;
/**
* @var Post
*/
private $post;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set updateDate
*
* @param string $updateDate
*
* @return PostLog
*/
public function setUpdateDate($updateDate)
{
$this->update_date = $updateDate;
return $this;
}
/**
* Get updateDate
*
* @return string
*/
public function getUpdateDate()
{
return $this->update_date;
}
/**
* Set user
*
* @param User $user
*
* @return PostLog
*/
public function setUser(User $user)
{
$this->user = $user;
return $this;
}
/**
* Get user
*
* @return User
*/
public function getUser()
{
return $this->user;
}
/**
* Set old
*
* @param string $old
*
* @return PostLog
*/
public function setOldValue($old)
{
$this->old_value = $old;
return $this;
}
/**
* Get old
*
* @return string
*/
public function getOldValue()
{
return $this->old_value;
}
/**
* Set newValue
*
* @param string $newValue
*
* @return PostLog
*/
public function setNewValue($newValue)
{
$this->new_value = $newValue;
return $this;
}
/**
* Get newValue
*
* @return string
*/
public function getNewValue()
{
return $this->new_value;
}
/**
* Set post
*
* @param Post $post
*
* @return PostLog
*/
public function setPost(Post $post)
{
$this->post = $post;
return $this;
}
/**
* Get post
*
* @return Post
*/
public function getPost()
{
return $this->post;
}
}