Files
Phraseanet/lib/Doctrine/Entities/SessionModule.php
Romain Neutron 7904a33e07 Fix CS
2013-12-03 21:01:43 +01:00

146 lines
2.2 KiB
PHP

<?php
/*
* This file is part of Phraseanet
*
* (c) 2005-2013 Alchemy
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Entities;
/**
* SessionModule
*/
class SessionModule
{
/**
* @var integer
*/
private $id;
/**
* @var integer
*/
private $module_id;
/**
* @var \DateTime
*/
private $created;
/**
* @var \DateTime
*/
private $updated;
/**
* @var \Entities\Session
*/
private $session;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set module_id
*
* @param integer $moduleId
* @return SessionModule
*/
public function setModuleId($moduleId)
{
$this->module_id = $moduleId;
return $this;
}
/**
* Get module_id
*
* @return integer
*/
public function getModuleId()
{
return $this->module_id;
}
/**
* Set created
*
* @param \DateTime $created
* @return SessionModule
*/
public function setCreated($created)
{
$this->created = $created;
return $this;
}
/**
* Get created
*
* @return \DateTime
*/
public function getCreated()
{
return $this->created;
}
/**
* Set updated
*
* @param \DateTime $updated
* @return SessionModule
*/
public function setUpdated($updated)
{
$this->updated = $updated;
return $this;
}
/**
* Get updated
*
* @return \DateTime
*/
public function getUpdated()
{
return $this->updated;
}
/**
* Set session
*
* @param \Entities\Session $session
* @return SessionModule
*/
public function setSession(\Entities\Session $session = null)
{
$this->session = $session;
return $this;
}
/**
* Get session
*
* @return \Entities\Session
*/
public function getSession()
{
return $this->session;
}
}