123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- <?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;
- }
- }
|