src/Entity/ReseauxSociaux.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ReseauxSociauxRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=ReseauxSociauxRepository::class)
  7. */
  8. class ReseauxSociaux
  9. {
  10. /**
  11. * @ORM\Id
  12. * @ORM\GeneratedValue
  13. * @ORM\Column(type="integer")
  14. */
  15. private $id;
  16. /**
  17. * @ORM\Column(type="string", length=255, nullable="true")
  18. */
  19. private $rss;
  20. /**
  21. * @ORM\Column(type="string", length=255, nullable=true)
  22. */
  23. private $facebook;
  24. /**
  25. * @ORM\Column(type="string", length=255, nullable=true)
  26. */
  27. private $twitter;
  28. /**
  29. * @ORM\Column(type="string", length=255, nullable=true)
  30. */
  31. private $vimeo;
  32. /**
  33. * @ORM\Column(type="string", length=255, nullable=true)
  34. */
  35. private $youtube;
  36. /**
  37. * @ORM\Column(type="string", length=255, nullable=true)
  38. */
  39. private $instagram;
  40. /**
  41. * @ORM\Column(type="string", length=255, nullable=true)
  42. */
  43. private $stumbleupon;
  44. /**
  45. * @ORM\Column(type="string", length=255, nullable=true)
  46. */
  47. private $lastfm;
  48. /**
  49. * @ORM\Column(type="string", length=255, nullable=true)
  50. */
  51. private $pinterest;
  52. /**
  53. * @ORM\Column(type="string", length=255, nullable=true)
  54. */
  55. private $gplus;
  56. /**
  57. * @ORM\Column(type="string", length=255, nullable=true)
  58. */
  59. private $dribble;
  60. /**
  61. * @ORM\Column(type="string", length=255, nullable=true)
  62. */
  63. private $skype;
  64. /**
  65. * @ORM\Column(type="string", length=255, nullable=true)
  66. */
  67. private $linkedin;
  68. /**
  69. * @ORM\Column(type="string", length=255, nullable=true)
  70. */
  71. private $dropbox;
  72. /**
  73. * @ORM\Column(type="string", length=255, nullable=true)
  74. */
  75. private $flickr;
  76. /**
  77. * @ORM\Column(type="string", length=255, nullable=true)
  78. */
  79. private $github;
  80. /**
  81. * @ORM\Column(type="string", length=255, nullable=true)
  82. */
  83. private $wikipedia;
  84. /**
  85. * @ORM\Column(type="string", length=255, nullable=true)
  86. */
  87. private $whatsapp;
  88. CONST SOCIAL = [
  89. 'rss' => 'fa fa-rss',
  90. 'facebook' => 'fa fa-facebook-f',
  91. 'twitter' => 'fa fa-twitter',
  92. 'vimeo' => 'fa fa-vimeo',
  93. 'youtube' => 'fa fa-youtube',
  94. 'instagram' => 'fa fa-instagram',
  95. 'stumbleupon' => 'fa fa-stumbleupon',
  96. 'lastfm' => 'fa fa-lastfm',
  97. 'pinterest' => 'fa fa-pinterest',
  98. 'gplus' => 'fa fa-google-plus-g',
  99. 'dribble' => 'fa fa-dribbble',
  100. 'skype' => 'fa fa-skype',
  101. 'linkedin' => 'fa fa-linkedin',
  102. 'dropbox' => 'fa fa-dropbox',
  103. 'flickr' => 'fa fa-flickr',
  104. 'github' => 'fa fa-github',
  105. 'wikipedia' => 'fa fa-wikipedia-w',
  106. 'whatsapp' => 'fa fa-whatsapp'
  107. ];
  108. public function getId(): ?int
  109. {
  110. return $this->id;
  111. }
  112. public function getRss(): ?string
  113. {
  114. return $this->rss;
  115. }
  116. public function setRss(?string $rss): self
  117. {
  118. $this->rss = $rss;
  119. return $this;
  120. }
  121. public function getFacebook(): ?string
  122. {
  123. return $this->facebook;
  124. }
  125. public function setFacebook(?string $facebook): self
  126. {
  127. $this->facebook = $facebook;
  128. return $this;
  129. }
  130. public function getTwitter(): ?string
  131. {
  132. return $this->twitter;
  133. }
  134. public function setTwitter(?string $twitter): self
  135. {
  136. $this->twitter = $twitter;
  137. return $this;
  138. }
  139. public function getVimeo(): ?string
  140. {
  141. return $this->vimeo;
  142. }
  143. public function setVimeo(?string $vimeo): self
  144. {
  145. $this->vimeo = $vimeo;
  146. return $this;
  147. }
  148. public function getYoutube(): ?string
  149. {
  150. return $this->youtube;
  151. }
  152. public function setYoutube(?string $youtube): self
  153. {
  154. $this->youtube = $youtube;
  155. return $this;
  156. }
  157. public function getInstagram(): ?string
  158. {
  159. return $this->instagram;
  160. }
  161. public function setInstagram(?string $instagram): self
  162. {
  163. $this->instagram = $instagram;
  164. return $this;
  165. }
  166. public function getStumbleupon(): ?string
  167. {
  168. return $this->stumbleupon;
  169. }
  170. public function setStumbleupon(?string $stumbleupon): self
  171. {
  172. $this->stumbleupon = $stumbleupon;
  173. return $this;
  174. }
  175. public function getLastfm(): ?string
  176. {
  177. return $this->lastfm;
  178. }
  179. public function setLastfm(?string $lastfm): self
  180. {
  181. $this->lastfm = $lastfm;
  182. return $this;
  183. }
  184. public function getPinterest(): ?string
  185. {
  186. return $this->pinterest;
  187. }
  188. public function setPinterest(?string $pinterest): self
  189. {
  190. $this->pinterest = $pinterest;
  191. return $this;
  192. }
  193. public function getGplus(): ?string
  194. {
  195. return $this->gplus;
  196. }
  197. public function setGplus(?string $gplus): self
  198. {
  199. $this->gplus = $gplus;
  200. return $this;
  201. }
  202. public function getDribble(): ?string
  203. {
  204. return $this->dribble;
  205. }
  206. public function setDribble(?string $dribble): self
  207. {
  208. $this->dribble = $dribble;
  209. return $this;
  210. }
  211. public function getSkype(): ?string
  212. {
  213. return $this->skype;
  214. }
  215. public function setSkype(?string $skype): self
  216. {
  217. $this->skype = $skype;
  218. return $this;
  219. }
  220. public function getLinkedin(): ?string
  221. {
  222. return $this->linkedin;
  223. }
  224. public function setLinkedin(?string $linkedin): self
  225. {
  226. $this->linkedin = $linkedin;
  227. return $this;
  228. }
  229. public function getDropbox(): ?string
  230. {
  231. return $this->dropbox;
  232. }
  233. public function setDropbox(?string $dropbox): self
  234. {
  235. $this->dropbox = $dropbox;
  236. return $this;
  237. }
  238. public function getFlickr(): ?string
  239. {
  240. return $this->flickr;
  241. }
  242. public function setFlickr(?string $flickr): self
  243. {
  244. $this->flickr = $flickr;
  245. return $this;
  246. }
  247. public function getGithub(): ?string
  248. {
  249. return $this->github;
  250. }
  251. public function setGithub(?string $github): self
  252. {
  253. $this->github = $github;
  254. return $this;
  255. }
  256. public function getWikipedia(): ?string
  257. {
  258. return $this->wikipedia;
  259. }
  260. public function setWikipedia(?string $wikipedia): self
  261. {
  262. $this->wikipedia = $wikipedia;
  263. return $this;
  264. }
  265. public function getWhatsapp(): ?string
  266. {
  267. return $this->whatsapp;
  268. }
  269. public function setWhatsapp(?string $whatsapp): self
  270. {
  271. $this->whatsapp = $whatsapp;
  272. return $this;
  273. }
  274. }