AccessUrl.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * AccessUrl
  6. *
  7. * @ORM\Table(name="access_url")
  8. * @ORM\Entity
  9. */
  10. class AccessUrl
  11. {
  12. /**
  13. * @var integer
  14. *
  15. * @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  16. * @ORM\Id
  17. * @ORM\GeneratedValue(strategy="IDENTITY")
  18. */
  19. private $id;
  20. /**
  21. * @var string
  22. *
  23. * @ORM\Column(name="url", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  24. */
  25. private $url;
  26. /**
  27. * @var string
  28. *
  29. * @ORM\Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
  30. */
  31. private $description;
  32. /**
  33. * @var integer
  34. *
  35. * @ORM\Column(name="active", type="integer", precision=0, scale=0, nullable=false, unique=false)
  36. */
  37. private $active;
  38. /**
  39. * @var integer
  40. *
  41. * @ORM\Column(name="created_by", type="integer", precision=0, scale=0, nullable=false, unique=false)
  42. */
  43. private $createdBy;
  44. /**
  45. * @var \DateTime
  46. *
  47. * @ORM\Column(name="tms", type="datetime", precision=0, scale=0, nullable=false, unique=false)
  48. */
  49. private $tms;
  50. /**
  51. * @var boolean
  52. *
  53. * @ORM\Column(name="url_type", type="boolean", precision=0, scale=0, nullable=true, unique=false)
  54. */
  55. private $urlType;
  56. /**
  57. * Get id
  58. *
  59. * @return integer
  60. */
  61. public function getId()
  62. {
  63. return $this->id;
  64. }
  65. /**
  66. * Set url
  67. *
  68. * @param string $url
  69. * @return AccessUrl
  70. */
  71. public function setUrl($url)
  72. {
  73. $this->url = $url;
  74. return $this;
  75. }
  76. /**
  77. * Get url
  78. *
  79. * @return string
  80. */
  81. public function getUrl()
  82. {
  83. return $this->url;
  84. }
  85. /**
  86. * Set description
  87. *
  88. * @param string $description
  89. * @return AccessUrl
  90. */
  91. public function setDescription($description)
  92. {
  93. $this->description = $description;
  94. return $this;
  95. }
  96. /**
  97. * Get description
  98. *
  99. * @return string
  100. */
  101. public function getDescription()
  102. {
  103. return $this->description;
  104. }
  105. /**
  106. * Set active
  107. *
  108. * @param integer $active
  109. * @return AccessUrl
  110. */
  111. public function setActive($active)
  112. {
  113. $this->active = $active;
  114. return $this;
  115. }
  116. /**
  117. * Get active
  118. *
  119. * @return integer
  120. */
  121. public function getActive()
  122. {
  123. return $this->active;
  124. }
  125. /**
  126. * Set createdBy
  127. *
  128. * @param integer $createdBy
  129. * @return AccessUrl
  130. */
  131. public function setCreatedBy($createdBy)
  132. {
  133. $this->createdBy = $createdBy;
  134. return $this;
  135. }
  136. /**
  137. * Get createdBy
  138. *
  139. * @return integer
  140. */
  141. public function getCreatedBy()
  142. {
  143. return $this->createdBy;
  144. }
  145. /**
  146. * Set tms
  147. *
  148. * @param \DateTime $tms
  149. * @return AccessUrl
  150. */
  151. public function setTms($tms)
  152. {
  153. $this->tms = $tms;
  154. return $this;
  155. }
  156. /**
  157. * Get tms
  158. *
  159. * @return \DateTime
  160. */
  161. public function getTms()
  162. {
  163. return $this->tms;
  164. }
  165. /**
  166. * Set urlType
  167. *
  168. * @param boolean $urlType
  169. * @return AccessUrl
  170. */
  171. public function setUrlType($urlType)
  172. {
  173. $this->urlType = $urlType;
  174. return $this;
  175. }
  176. /**
  177. * Get urlType
  178. *
  179. * @return boolean
  180. */
  181. public function getUrlType()
  182. {
  183. return $this->urlType;
  184. }
  185. }