%PDF- %PDF-
| Direktori : /proc/self/root/home/tjamichg/cursos.tjamich.gob.mx/src/Chamilo/CoreBundle/Entity/ |
| Current File : //proc/self/root/home/tjamichg/cursos.tjamich.gob.mx/src/Chamilo/CoreBundle/Entity/Room.php |
<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Room.
*
* @ORM\Table(name="room")
* @ORM\Entity
*/
class Room
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false, unique=false)
* @ORM\Id
* @ORM\GeneratedValue
*/
protected $id;
/**
* @var string
*
* @ORM\Column(name="title", type="string", length=255, nullable=true, unique=false)
*/
protected $title;
/**
* @var string
*
* @ORM\Column(name="description", type="text", nullable=true)
*/
protected $description;
/**
* @var string
*
* @ORM\Column(name="geolocation", type="string", length=255, nullable=true, unique=false)
*/
protected $geolocation;
/**
* @var string
*
* @ORM\Column(name="ip", type="string", length=39, nullable=true, unique=false)
*/
protected $ip;
/**
* @var string
*
* @ORM\Column(name="ip_mask", type="string", length=6, nullable=true, unique=false)
*/
protected $ipMask;
/**
* @var BranchSync
*
* @ORM\ManyToOne(targetEntity="Chamilo\CoreBundle\Entity\BranchSync")
* @ORM\JoinColumn(name="branch_id", referencedColumnName="id")
*/
protected $branch;
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set title.
*
* @param string $title
*
* @return $this
*/
public function setTitle($title)
{
$this->title = $title;
return $this;
}
/**
* Get title.
*
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string $description
*
* @return Room
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* @return string
*/
public function getGeolocation()
{
return $this->geolocation;
}
/**
* @param string $geolocation
*
* @return Room
*/
public function setGeolocation($geolocation)
{
$this->geolocation = $geolocation;
return $this;
}
/**
* @return string
*/
public function getIp()
{
return $this->ip;
}
/**
* @param string $ip
*
* @return Room
*/
public function setIp($ip)
{
$this->ip = $ip;
return $this;
}
/**
* @return string
*/
public function getIpMask()
{
return $this->ipMask;
}
/**
* @param string $ipMask
*
* @return Room
*/
public function setIpMask($ipMask)
{
$this->ipMask = $ipMask;
return $this;
}
/**
* @return BranchSync
*/
public function getBranch()
{
return $this->branch;
}
/**
* @param BranchSync $branch
*
* @return $this
*/
public function setBranch($branch)
{
$this->branch = $branch;
return $this;
}
}