EntityAccessUrl.php 3.0 KB

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