Organization.php 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514
  1. <?php
  2. namespace Opentalent\OtTemplating\Domain\Model;
  3. use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
  4. /**
  5. * Organization
  6. */
  7. class Organization extends AbstractEntity
  8. {
  9. /**
  10. * id
  11. *
  12. * @var string
  13. */
  14. protected $id = '';
  15. /**
  16. * type
  17. *
  18. * @var string
  19. */
  20. protected $type = '';
  21. /**
  22. * subDomain
  23. *
  24. * @var string
  25. */
  26. protected $subDomain = '';
  27. /**
  28. * name
  29. *
  30. * @var string
  31. */
  32. protected $name = '';
  33. /**
  34. * slug
  35. *
  36. * @var string
  37. */
  38. protected $slug = '';
  39. /**
  40. * principalType
  41. *
  42. * @var string
  43. */
  44. protected $principalType = '';
  45. /**
  46. * description
  47. *
  48. * @var string
  49. */
  50. protected $description = '';
  51. /**
  52. * categories
  53. *
  54. * @var int
  55. */
  56. protected $categories = 0;
  57. /**
  58. * addressCity
  59. *
  60. * @var string
  61. */
  62. protected $addressCity = '';
  63. /**
  64. * postalCode
  65. *
  66. * @var string
  67. */
  68. protected $postalCode = '';
  69. /**
  70. * streetAdress
  71. *
  72. * @var string
  73. */
  74. protected $streetAdress = '';
  75. /**
  76. * latitude
  77. *
  78. * @var float
  79. */
  80. protected $latitude = 0.0;
  81. /**
  82. * longitude
  83. *
  84. * @var float
  85. */
  86. protected $longitude = 0.0;
  87. /**
  88. * country
  89. *
  90. * @var string
  91. */
  92. protected $country = '';
  93. /**
  94. * logo
  95. *
  96. * @var string
  97. */
  98. protected $logo = '';
  99. /**
  100. * parentId
  101. *
  102. * @var int
  103. */
  104. protected $parentId = 0;
  105. /**
  106. * parentName
  107. *
  108. * @var string
  109. */
  110. protected $parentName = '';
  111. /**
  112. * parentSubdomain
  113. *
  114. * @var string
  115. */
  116. protected $parentSubdomain = '';
  117. /**
  118. * Returns the id
  119. *
  120. * @return string $id
  121. */
  122. public function getId()
  123. {
  124. return $this->id;
  125. }
  126. /**
  127. * Sets the id
  128. *
  129. * @param string $id
  130. * @return void
  131. */
  132. public function setId($id)
  133. {
  134. $this->id = $id;
  135. }
  136. /**
  137. * Returns the type
  138. *
  139. * @return string $type
  140. */
  141. public function getType()
  142. {
  143. return $this->type;
  144. }
  145. /**
  146. * Sets the type
  147. *
  148. * @param string $type
  149. * @return void
  150. */
  151. public function setType($type)
  152. {
  153. $this->type = $type;
  154. }
  155. /**
  156. * Returns the subDomain
  157. *
  158. * @return string $subDomain
  159. */
  160. public function getSubDomain()
  161. {
  162. return $this->subDomain;
  163. }
  164. /**
  165. * Sets the subDomain
  166. *
  167. * @param string $subDomain
  168. * @return void
  169. */
  170. public function setSubDomain($subDomain)
  171. {
  172. $this->subDomain = $subDomain;
  173. }
  174. /**
  175. * Returns the name
  176. *
  177. * @return string $name
  178. */
  179. public function getName()
  180. {
  181. return $this->name;
  182. }
  183. /**
  184. * Sets the name
  185. *
  186. * @param string $name
  187. * @return void
  188. */
  189. public function setName($name)
  190. {
  191. $this->name = $name;
  192. }
  193. /**
  194. * Returns the slug
  195. *
  196. * @return string $slug
  197. */
  198. public function getSlug()
  199. {
  200. return $this->slug;
  201. }
  202. /**
  203. * Sets the slug
  204. *
  205. * @param string $slug
  206. * @return void
  207. */
  208. public function setSlug($slug)
  209. {
  210. $this->slug = $slug;
  211. }
  212. /**
  213. * Returns the principalType
  214. *
  215. * @return string $principalType
  216. */
  217. public function getPrincipalType()
  218. {
  219. return $this->principalType;
  220. }
  221. /**
  222. * Sets the principalType
  223. *
  224. * @param string $principalType
  225. * @return void
  226. */
  227. public function setPrincipalType($principalType)
  228. {
  229. $this->principalType = $principalType;
  230. }
  231. /**
  232. * Returns the description
  233. *
  234. * @return string $description
  235. */
  236. public function getDescription()
  237. {
  238. return $this->description;
  239. }
  240. /**
  241. * Sets the description
  242. *
  243. * @param string $description
  244. * @return void
  245. */
  246. public function setDescription($description)
  247. {
  248. $this->description = $description;
  249. }
  250. /**
  251. * Returns the categories
  252. *
  253. * @return int $categories
  254. */
  255. public function getCategories()
  256. {
  257. return $this->categories;
  258. }
  259. /**
  260. * Sets the categories
  261. *
  262. * @param int $categories
  263. * @return void
  264. */
  265. public function setCategories($categories)
  266. {
  267. $this->categories = $categories;
  268. }
  269. /**
  270. * Returns the addressCity
  271. *
  272. * @return string $addressCity
  273. */
  274. public function getAddressCity()
  275. {
  276. return $this->addressCity;
  277. }
  278. /**
  279. * Sets the addressCity
  280. *
  281. * @param string $addressCity
  282. * @return void
  283. */
  284. public function setAddressCity($addressCity)
  285. {
  286. $this->addressCity = $addressCity;
  287. }
  288. /**
  289. * Returns the postalCode
  290. *
  291. * @return string $postalCode
  292. */
  293. public function getPostalCode()
  294. {
  295. return $this->postalCode;
  296. }
  297. /**
  298. * Sets the postalCode
  299. *
  300. * @param string $postalCode
  301. * @return void
  302. */
  303. public function setPostalCode($postalCode)
  304. {
  305. $this->postalCode = $postalCode;
  306. }
  307. /**
  308. * Returns the streetAdress
  309. *
  310. * @return string $streetAdress
  311. */
  312. public function getStreetAdress()
  313. {
  314. return $this->streetAdress;
  315. }
  316. /**
  317. * Sets the streetAdress
  318. *
  319. * @param string $streetAdress
  320. * @return void
  321. */
  322. public function setStreetAdress($streetAdress)
  323. {
  324. $this->streetAdress = $streetAdress;
  325. }
  326. /**
  327. * Returns the latitude
  328. *
  329. * @return float $latitude
  330. */
  331. public function getLatitude()
  332. {
  333. return $this->latitude;
  334. }
  335. /**
  336. * Sets the latitude
  337. *
  338. * @param float $latitude
  339. * @return void
  340. */
  341. public function setLatitude($latitude)
  342. {
  343. $this->latitude = $latitude;
  344. }
  345. /**
  346. * Returns the longitude
  347. *
  348. * @return float $longitude
  349. */
  350. public function getLongitude()
  351. {
  352. return $this->longitude;
  353. }
  354. /**
  355. * Sets the longitude
  356. *
  357. * @param float $longitude
  358. * @return void
  359. */
  360. public function setLongitude($longitude)
  361. {
  362. $this->longitude = $longitude;
  363. }
  364. /**
  365. * Returns the country
  366. *
  367. * @return string $country
  368. */
  369. public function getCountry()
  370. {
  371. return $this->country;
  372. }
  373. /**
  374. * Sets the country
  375. *
  376. * @param string $country
  377. * @return void
  378. */
  379. public function setCountry($country)
  380. {
  381. $this->country = $country;
  382. }
  383. /**
  384. * Returns the logo
  385. *
  386. * @return string $logo
  387. */
  388. public function getLogo()
  389. {
  390. return $this->logo;
  391. }
  392. /**
  393. * Sets the logo
  394. *
  395. * @param string $logo
  396. * @return void
  397. */
  398. public function setLogo($logo)
  399. {
  400. $this->logo = $logo;
  401. }
  402. /**
  403. * Returns the parentId
  404. *
  405. * @return string $parentId
  406. */
  407. public function getParentId()
  408. {
  409. return $this->parentId;
  410. }
  411. /**
  412. * Sets the parentName
  413. *
  414. * @param string $parentId
  415. * @return void
  416. */
  417. public function setParentId($parentId)
  418. {
  419. $this->parentId = $parentId;
  420. }
  421. /**
  422. * Returns the parentName
  423. *
  424. * @return string $parentName
  425. */
  426. public function getParentName()
  427. {
  428. return $this->parentName;
  429. }
  430. /**
  431. * Sets the parentName
  432. *
  433. * @param string $parentName
  434. * @return void
  435. */
  436. public function setParentName($parentName)
  437. {
  438. $this->parentName = $parentName;
  439. }
  440. /**
  441. * Returns the parentSubdomain
  442. *
  443. * @return string $parentSubdomain
  444. */
  445. public function getParentSubdomain()
  446. {
  447. return $this->parentSubdomain;
  448. }
  449. /**
  450. * Sets the parentSubdomain
  451. *
  452. * @param string $parentSubdomain
  453. * @return void
  454. */
  455. public function setParentSubdomain($parentSubdomain)
  456. {
  457. $this->parentSubdomain = $parentSubdomain;
  458. }
  459. }