Groups.php 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * Groups
  6. *
  7. * @ORM\Table(name="groups")
  8. * @ORM\Entity
  9. */
  10. class Groups
  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="name", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  24. */
  25. private $name;
  26. /**
  27. * @var string
  28. *
  29. * @ORM\Column(name="description", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  30. */
  31. private $description;
  32. /**
  33. * @var string
  34. *
  35. * @ORM\Column(name="picture_uri", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  36. */
  37. private $pictureUri;
  38. /**
  39. * @var string
  40. *
  41. * @ORM\Column(name="url", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  42. */
  43. private $url;
  44. /**
  45. * @var integer
  46. *
  47. * @ORM\Column(name="visibility", type="integer", precision=0, scale=0, nullable=false, unique=false)
  48. */
  49. private $visibility;
  50. /**
  51. * @var string
  52. *
  53. * @ORM\Column(name="updated_on", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  54. */
  55. private $updatedOn;
  56. /**
  57. * @var string
  58. *
  59. * @ORM\Column(name="created_on", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  60. */
  61. private $createdOn;
  62. /**
  63. * Get id
  64. *
  65. * @return integer
  66. */
  67. public function getId()
  68. {
  69. return $this->id;
  70. }
  71. /**
  72. * Set name
  73. *
  74. * @param string $name
  75. * @return Groups
  76. */
  77. public function setName($name)
  78. {
  79. $this->name = $name;
  80. return $this;
  81. }
  82. /**
  83. * Get name
  84. *
  85. * @return string
  86. */
  87. public function getName()
  88. {
  89. return $this->name;
  90. }
  91. /**
  92. * Set description
  93. *
  94. * @param string $description
  95. * @return Groups
  96. */
  97. public function setDescription($description)
  98. {
  99. $this->description = $description;
  100. return $this;
  101. }
  102. /**
  103. * Get description
  104. *
  105. * @return string
  106. */
  107. public function getDescription()
  108. {
  109. return $this->description;
  110. }
  111. /**
  112. * Set pictureUri
  113. *
  114. * @param string $pictureUri
  115. * @return Groups
  116. */
  117. public function setPictureUri($pictureUri)
  118. {
  119. $this->pictureUri = $pictureUri;
  120. return $this;
  121. }
  122. /**
  123. * Get pictureUri
  124. *
  125. * @return string
  126. */
  127. public function getPictureUri()
  128. {
  129. return $this->pictureUri;
  130. }
  131. /**
  132. * Set url
  133. *
  134. * @param string $url
  135. * @return Groups
  136. */
  137. public function setUrl($url)
  138. {
  139. $this->url = $url;
  140. return $this;
  141. }
  142. /**
  143. * Get url
  144. *
  145. * @return string
  146. */
  147. public function getUrl()
  148. {
  149. return $this->url;
  150. }
  151. /**
  152. * Set visibility
  153. *
  154. * @param integer $visibility
  155. * @return Groups
  156. */
  157. public function setVisibility($visibility)
  158. {
  159. $this->visibility = $visibility;
  160. return $this;
  161. }
  162. /**
  163. * Get visibility
  164. *
  165. * @return integer
  166. */
  167. public function getVisibility()
  168. {
  169. return $this->visibility;
  170. }
  171. /**
  172. * Set updatedOn
  173. *
  174. * @param string $updatedOn
  175. * @return Groups
  176. */
  177. public function setUpdatedOn($updatedOn)
  178. {
  179. $this->updatedOn = $updatedOn;
  180. return $this;
  181. }
  182. /**
  183. * Get updatedOn
  184. *
  185. * @return string
  186. */
  187. public function getUpdatedOn()
  188. {
  189. return $this->updatedOn;
  190. }
  191. /**
  192. * Set createdOn
  193. *
  194. * @param string $createdOn
  195. * @return Groups
  196. */
  197. public function setCreatedOn($createdOn)
  198. {
  199. $this->createdOn = $createdOn;
  200. return $this;
  201. }
  202. /**
  203. * Get createdOn
  204. *
  205. * @return string
  206. */
  207. public function getCreatedOn()
  208. {
  209. return $this->createdOn;
  210. }
  211. }