user.class.php 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. *
  6. * @license see /license.txt
  7. * @author autogenerated
  8. */
  9. class User extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\UserRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\UserRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\User
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $user_id
  25. */
  26. protected $user_id;
  27. /**
  28. * @var string $lastname
  29. */
  30. protected $lastname;
  31. /**
  32. * @var string $firstname
  33. */
  34. protected $firstname;
  35. /**
  36. * @var string $username
  37. */
  38. protected $username;
  39. /**
  40. * @var string $password
  41. */
  42. protected $password;
  43. /**
  44. * @var string $auth_source
  45. */
  46. protected $auth_source;
  47. /**
  48. * @var string $email
  49. */
  50. protected $email;
  51. /**
  52. * @var boolean $status
  53. */
  54. protected $status;
  55. /**
  56. * @var string $official_code
  57. */
  58. protected $official_code;
  59. /**
  60. * @var string $phone
  61. */
  62. protected $phone;
  63. /**
  64. * @var string $picture_uri
  65. */
  66. protected $picture_uri;
  67. /**
  68. * @var integer $creator_id
  69. */
  70. protected $creator_id;
  71. /**
  72. * @var text $competences
  73. */
  74. protected $competences;
  75. /**
  76. * @var text $diplomas
  77. */
  78. protected $diplomas;
  79. /**
  80. * @var text $openarea
  81. */
  82. protected $openarea;
  83. /**
  84. * @var text $teach
  85. */
  86. protected $teach;
  87. /**
  88. * @var string $productions
  89. */
  90. protected $productions;
  91. /**
  92. * @var integer $chatcall_user_id
  93. */
  94. protected $chatcall_user_id;
  95. /**
  96. * @var datetime $chatcall_date
  97. */
  98. protected $chatcall_date;
  99. /**
  100. * @var string $chatcall_text
  101. */
  102. protected $chatcall_text;
  103. /**
  104. * @var string $language
  105. */
  106. protected $language;
  107. /**
  108. * @var datetime $registration_date
  109. */
  110. protected $registration_date;
  111. /**
  112. * @var datetime $expiration_date
  113. */
  114. protected $expiration_date;
  115. /**
  116. * @var boolean $active
  117. */
  118. protected $active;
  119. /**
  120. * @var string $openid
  121. */
  122. protected $openid;
  123. /**
  124. * @var string $theme
  125. */
  126. protected $theme;
  127. /**
  128. * @var smallint $hr_dept_id
  129. */
  130. protected $hr_dept_id;
  131. /**
  132. * Get user_id
  133. *
  134. * @return integer
  135. */
  136. public function get_user_id()
  137. {
  138. return $this->user_id;
  139. }
  140. /**
  141. * Set lastname
  142. *
  143. * @param string $value
  144. * @return User
  145. */
  146. public function set_lastname($value)
  147. {
  148. $this->lastname = $value;
  149. return $this;
  150. }
  151. /**
  152. * Get lastname
  153. *
  154. * @return string
  155. */
  156. public function get_lastname()
  157. {
  158. return $this->lastname;
  159. }
  160. /**
  161. * Set firstname
  162. *
  163. * @param string $value
  164. * @return User
  165. */
  166. public function set_firstname($value)
  167. {
  168. $this->firstname = $value;
  169. return $this;
  170. }
  171. /**
  172. * Get firstname
  173. *
  174. * @return string
  175. */
  176. public function get_firstname()
  177. {
  178. return $this->firstname;
  179. }
  180. /**
  181. * Set username
  182. *
  183. * @param string $value
  184. * @return User
  185. */
  186. public function set_username($value)
  187. {
  188. $this->username = $value;
  189. return $this;
  190. }
  191. /**
  192. * Get username
  193. *
  194. * @return string
  195. */
  196. public function get_username()
  197. {
  198. return $this->username;
  199. }
  200. /**
  201. * Set password
  202. *
  203. * @param string $value
  204. * @return User
  205. */
  206. public function set_password($value)
  207. {
  208. $this->password = $value;
  209. return $this;
  210. }
  211. /**
  212. * Get password
  213. *
  214. * @return string
  215. */
  216. public function get_password()
  217. {
  218. return $this->password;
  219. }
  220. /**
  221. * Set auth_source
  222. *
  223. * @param string $value
  224. * @return User
  225. */
  226. public function set_auth_source($value)
  227. {
  228. $this->auth_source = $value;
  229. return $this;
  230. }
  231. /**
  232. * Get auth_source
  233. *
  234. * @return string
  235. */
  236. public function get_auth_source()
  237. {
  238. return $this->auth_source;
  239. }
  240. /**
  241. * Set email
  242. *
  243. * @param string $value
  244. * @return User
  245. */
  246. public function set_email($value)
  247. {
  248. $this->email = $value;
  249. return $this;
  250. }
  251. /**
  252. * Get email
  253. *
  254. * @return string
  255. */
  256. public function get_email()
  257. {
  258. return $this->email;
  259. }
  260. /**
  261. * Set status
  262. *
  263. * @param boolean $value
  264. * @return User
  265. */
  266. public function set_status($value)
  267. {
  268. $this->status = $value;
  269. return $this;
  270. }
  271. /**
  272. * Get status
  273. *
  274. * @return boolean
  275. */
  276. public function get_status()
  277. {
  278. return $this->status;
  279. }
  280. /**
  281. * Set official_code
  282. *
  283. * @param string $value
  284. * @return User
  285. */
  286. public function set_official_code($value)
  287. {
  288. $this->official_code = $value;
  289. return $this;
  290. }
  291. /**
  292. * Get official_code
  293. *
  294. * @return string
  295. */
  296. public function get_official_code()
  297. {
  298. return $this->official_code;
  299. }
  300. /**
  301. * Set phone
  302. *
  303. * @param string $value
  304. * @return User
  305. */
  306. public function set_phone($value)
  307. {
  308. $this->phone = $value;
  309. return $this;
  310. }
  311. /**
  312. * Get phone
  313. *
  314. * @return string
  315. */
  316. public function get_phone()
  317. {
  318. return $this->phone;
  319. }
  320. /**
  321. * Set picture_uri
  322. *
  323. * @param string $value
  324. * @return User
  325. */
  326. public function set_picture_uri($value)
  327. {
  328. $this->picture_uri = $value;
  329. return $this;
  330. }
  331. /**
  332. * Get picture_uri
  333. *
  334. * @return string
  335. */
  336. public function get_picture_uri()
  337. {
  338. return $this->picture_uri;
  339. }
  340. /**
  341. * Set creator_id
  342. *
  343. * @param integer $value
  344. * @return User
  345. */
  346. public function set_creator_id($value)
  347. {
  348. $this->creator_id = $value;
  349. return $this;
  350. }
  351. /**
  352. * Get creator_id
  353. *
  354. * @return integer
  355. */
  356. public function get_creator_id()
  357. {
  358. return $this->creator_id;
  359. }
  360. /**
  361. * Set competences
  362. *
  363. * @param text $value
  364. * @return User
  365. */
  366. public function set_competences($value)
  367. {
  368. $this->competences = $value;
  369. return $this;
  370. }
  371. /**
  372. * Get competences
  373. *
  374. * @return text
  375. */
  376. public function get_competences()
  377. {
  378. return $this->competences;
  379. }
  380. /**
  381. * Set diplomas
  382. *
  383. * @param text $value
  384. * @return User
  385. */
  386. public function set_diplomas($value)
  387. {
  388. $this->diplomas = $value;
  389. return $this;
  390. }
  391. /**
  392. * Get diplomas
  393. *
  394. * @return text
  395. */
  396. public function get_diplomas()
  397. {
  398. return $this->diplomas;
  399. }
  400. /**
  401. * Set openarea
  402. *
  403. * @param text $value
  404. * @return User
  405. */
  406. public function set_openarea($value)
  407. {
  408. $this->openarea = $value;
  409. return $this;
  410. }
  411. /**
  412. * Get openarea
  413. *
  414. * @return text
  415. */
  416. public function get_openarea()
  417. {
  418. return $this->openarea;
  419. }
  420. /**
  421. * Set teach
  422. *
  423. * @param text $value
  424. * @return User
  425. */
  426. public function set_teach($value)
  427. {
  428. $this->teach = $value;
  429. return $this;
  430. }
  431. /**
  432. * Get teach
  433. *
  434. * @return text
  435. */
  436. public function get_teach()
  437. {
  438. return $this->teach;
  439. }
  440. /**
  441. * Set productions
  442. *
  443. * @param string $value
  444. * @return User
  445. */
  446. public function set_productions($value)
  447. {
  448. $this->productions = $value;
  449. return $this;
  450. }
  451. /**
  452. * Get productions
  453. *
  454. * @return string
  455. */
  456. public function get_productions()
  457. {
  458. return $this->productions;
  459. }
  460. /**
  461. * Set chatcall_user_id
  462. *
  463. * @param integer $value
  464. * @return User
  465. */
  466. public function set_chatcall_user_id($value)
  467. {
  468. $this->chatcall_user_id = $value;
  469. return $this;
  470. }
  471. /**
  472. * Get chatcall_user_id
  473. *
  474. * @return integer
  475. */
  476. public function get_chatcall_user_id()
  477. {
  478. return $this->chatcall_user_id;
  479. }
  480. /**
  481. * Set chatcall_date
  482. *
  483. * @param datetime $value
  484. * @return User
  485. */
  486. public function set_chatcall_date($value)
  487. {
  488. $this->chatcall_date = $value;
  489. return $this;
  490. }
  491. /**
  492. * Get chatcall_date
  493. *
  494. * @return datetime
  495. */
  496. public function get_chatcall_date()
  497. {
  498. return $this->chatcall_date;
  499. }
  500. /**
  501. * Set chatcall_text
  502. *
  503. * @param string $value
  504. * @return User
  505. */
  506. public function set_chatcall_text($value)
  507. {
  508. $this->chatcall_text = $value;
  509. return $this;
  510. }
  511. /**
  512. * Get chatcall_text
  513. *
  514. * @return string
  515. */
  516. public function get_chatcall_text()
  517. {
  518. return $this->chatcall_text;
  519. }
  520. /**
  521. * Set language
  522. *
  523. * @param string $value
  524. * @return User
  525. */
  526. public function set_language($value)
  527. {
  528. $this->language = $value;
  529. return $this;
  530. }
  531. /**
  532. * Get language
  533. *
  534. * @return string
  535. */
  536. public function get_language()
  537. {
  538. return $this->language;
  539. }
  540. /**
  541. * Set registration_date
  542. *
  543. * @param datetime $value
  544. * @return User
  545. */
  546. public function set_registration_date($value)
  547. {
  548. $this->registration_date = $value;
  549. return $this;
  550. }
  551. /**
  552. * Get registration_date
  553. *
  554. * @return datetime
  555. */
  556. public function get_registration_date()
  557. {
  558. return $this->registration_date;
  559. }
  560. /**
  561. * Set expiration_date
  562. *
  563. * @param datetime $value
  564. * @return User
  565. */
  566. public function set_expiration_date($value)
  567. {
  568. $this->expiration_date = $value;
  569. return $this;
  570. }
  571. /**
  572. * Get expiration_date
  573. *
  574. * @return datetime
  575. */
  576. public function get_expiration_date()
  577. {
  578. return $this->expiration_date;
  579. }
  580. /**
  581. * Set active
  582. *
  583. * @param boolean $value
  584. * @return User
  585. */
  586. public function set_active($value)
  587. {
  588. $this->active = $value;
  589. return $this;
  590. }
  591. /**
  592. * Get active
  593. *
  594. * @return boolean
  595. */
  596. public function get_active()
  597. {
  598. return $this->active;
  599. }
  600. /**
  601. * Set openid
  602. *
  603. * @param string $value
  604. * @return User
  605. */
  606. public function set_openid($value)
  607. {
  608. $this->openid = $value;
  609. return $this;
  610. }
  611. /**
  612. * Get openid
  613. *
  614. * @return string
  615. */
  616. public function get_openid()
  617. {
  618. return $this->openid;
  619. }
  620. /**
  621. * Set theme
  622. *
  623. * @param string $value
  624. * @return User
  625. */
  626. public function set_theme($value)
  627. {
  628. $this->theme = $value;
  629. return $this;
  630. }
  631. /**
  632. * Get theme
  633. *
  634. * @return string
  635. */
  636. public function get_theme()
  637. {
  638. return $this->theme;
  639. }
  640. /**
  641. * Set hr_dept_id
  642. *
  643. * @param smallint $value
  644. * @return User
  645. */
  646. public function set_hr_dept_id($value)
  647. {
  648. $this->hr_dept_id = $value;
  649. return $this;
  650. }
  651. /**
  652. * Get hr_dept_id
  653. *
  654. * @return smallint
  655. */
  656. public function get_hr_dept_id()
  657. {
  658. return $this->hr_dept_id;
  659. }
  660. }