Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/main/inc/Entity/AccessUrl.php

214 lines
3.5 KiB

<?php
namespace Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* AccessUrl
*
* @ORM\Table(name="access_url")
* @ORM\Entity
*/
class AccessUrl
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="url", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
*/
private $url;
/**
* @var string
*
* @ORM\Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
*/
private $description;
/**
* @var integer
*
* @ORM\Column(name="active", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $active;
/**
* @var integer
*
* @ORM\Column(name="created_by", type="integer", precision=0, scale=0, nullable=false, unique=false)
*/
private $createdBy;
/**
* @var \DateTime
*
* @ORM\Column(name="tms", type="datetime", precision=0, scale=0, nullable=false, unique=false)
*/
private $tms;
/**
* @var boolean
*
* @ORM\Column(name="url_type", type="boolean", precision=0, scale=0, nullable=true, unique=false)
*/
private $urlType;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set url
*
* @param string $url
* @return AccessUrl
*/
public function setUrl($url)
{
$this->url = $url;
return $this;
}
/**
* Get url
*
* @return string
*/
public function getUrl()
{
return $this->url;
}
/**
* Set description
*
* @param string $description
* @return AccessUrl
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set active
*
* @param integer $active
* @return AccessUrl
*/
public function setActive($active)
{
$this->active = $active;
return $this;
}
/**
* Get active
*
* @return integer
*/
public function getActive()
{
return $this->active;
}
/**
* Set createdBy
*
* @param integer $createdBy
* @return AccessUrl
*/
public function setCreatedBy($createdBy)
{
$this->createdBy = $createdBy;
return $this;
}
/**
* Get createdBy
*
* @return integer
*/
public function getCreatedBy()
{
return $this->createdBy;
}
/**
* Set tms
*
* @param \DateTime $tms
* @return AccessUrl
*/
public function setTms($tms)
{
$this->tms = $tms;
return $this;
}
/**
* Get tms
*
* @return \DateTime
*/
public function getTms()
{
return $this->tms;
}
/**
* Set urlType
*
* @param boolean $urlType
* @return AccessUrl
*/
public function setUrlType($urlType)
{
$this->urlType = $urlType;
return $this;
}
/**
* Get urlType
*
* @return boolean
*/
public function getUrlType()
{
return $this->urlType;
}
}