CLp.php 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * CLp
  6. *
  7. * @ORM\Table(name="c_lp")
  8. * @ORM\Entity(repositoryClass="Entity\Repository\LpRepository")
  9. */
  10. class CLp
  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 integer
  22. *
  23. * @ORM\Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  24. */
  25. private $cId;
  26. /**
  27. * @var integer
  28. *
  29. * @ORM\Column(name="lp_type", type="integer", precision=0, scale=0, nullable=false, unique=false)
  30. */
  31. private $lpType;
  32. /**
  33. * @var string
  34. *
  35. * @ORM\Column(name="name", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  36. */
  37. private $name;
  38. /**
  39. * @var string
  40. *
  41. * @ORM\Column(name="ref", type="text", precision=0, scale=0, nullable=true, unique=false)
  42. */
  43. private $ref;
  44. /**
  45. * @var string
  46. *
  47. * @ORM\Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
  48. */
  49. private $description;
  50. /**
  51. * @var string
  52. *
  53. * @ORM\Column(name="path", type="text", precision=0, scale=0, nullable=false, unique=false)
  54. */
  55. private $path;
  56. /**
  57. * @var boolean
  58. *
  59. * @ORM\Column(name="force_commit", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  60. */
  61. private $forceCommit;
  62. /**
  63. * @var string
  64. *
  65. * @ORM\Column(name="default_view_mod", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
  66. */
  67. private $defaultViewMod;
  68. /**
  69. * @var string
  70. *
  71. * @ORM\Column(name="default_encoding", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
  72. */
  73. private $defaultEncoding;
  74. /**
  75. * @var integer
  76. *
  77. * @ORM\Column(name="display_order", type="integer", precision=0, scale=0, nullable=false, unique=false)
  78. */
  79. private $displayOrder;
  80. /**
  81. * @var string
  82. *
  83. * @ORM\Column(name="content_maker", type="text", precision=0, scale=0, nullable=false, unique=false)
  84. */
  85. private $contentMaker;
  86. /**
  87. * @var string
  88. *
  89. * @ORM\Column(name="content_local", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
  90. */
  91. private $contentLocal;
  92. /**
  93. * @var string
  94. *
  95. * @ORM\Column(name="content_license", type="text", precision=0, scale=0, nullable=false, unique=false)
  96. */
  97. private $contentLicense;
  98. /**
  99. * @var boolean
  100. *
  101. * @ORM\Column(name="prevent_reinit", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  102. */
  103. private $preventReinit;
  104. /**
  105. * @var string
  106. *
  107. * @ORM\Column(name="js_lib", type="text", precision=0, scale=0, nullable=false, unique=false)
  108. */
  109. private $jsLib;
  110. /**
  111. * @var boolean
  112. *
  113. * @ORM\Column(name="debug", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  114. */
  115. private $debug;
  116. /**
  117. * @var string
  118. *
  119. * @ORM\Column(name="theme", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  120. */
  121. private $theme;
  122. /**
  123. * @var string
  124. *
  125. * @ORM\Column(name="preview_image", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  126. */
  127. private $previewImage;
  128. /**
  129. * @var string
  130. *
  131. * @ORM\Column(name="author", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  132. */
  133. private $author;
  134. /**
  135. * @var integer
  136. *
  137. * @ORM\Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  138. */
  139. private $sessionId;
  140. /**
  141. * @var integer
  142. *
  143. * @ORM\Column(name="prerequisite", type="integer", precision=0, scale=0, nullable=false, unique=false)
  144. */
  145. private $prerequisite;
  146. /**
  147. * @var boolean
  148. *
  149. * @ORM\Column(name="hide_toc_frame", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  150. */
  151. private $hideTocFrame;
  152. /**
  153. * @var boolean
  154. *
  155. * @ORM\Column(name="seriousgame_mode", type="boolean", precision=0, scale=0, nullable=false, unique=false)
  156. */
  157. private $seriousgameMode;
  158. /**
  159. * @var integer
  160. *
  161. * @ORM\Column(name="use_max_score", type="integer", precision=0, scale=0, nullable=false, unique=false)
  162. */
  163. private $useMaxScore;
  164. /**
  165. * @var integer
  166. *
  167. * @ORM\Column(name="autolunch", type="integer", precision=0, scale=0, nullable=false, unique=false)
  168. */
  169. private $autolunch;
  170. /**
  171. * @var \DateTime
  172. *
  173. * @ORM\Column(name="created_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
  174. */
  175. private $createdOn;
  176. /**
  177. * @var \DateTime
  178. *
  179. * @ORM\Column(name="modified_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
  180. */
  181. private $modifiedOn;
  182. /**
  183. * @var \DateTime
  184. *
  185. * @ORM\Column(name="publicated_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
  186. */
  187. private $publicatedOn;
  188. /**
  189. * @var \DateTime
  190. *
  191. * @ORM\Column(name="expired_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
  192. */
  193. private $expiredOn;
  194. /**
  195. * @var integer
  196. *
  197. * @ORM\Column(name="category_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  198. */
  199. private $categoryId;
  200. /**
  201. *
  202. */
  203. public function __construct()
  204. {
  205. }
  206. /**
  207. * Set categoryId
  208. *
  209. * @param integer $id
  210. * @return CLp
  211. */
  212. public function setCategoryId($id)
  213. {
  214. $this->categoryId = $id;
  215. return $this;
  216. }
  217. /**
  218. * Get categoryId
  219. *
  220. * @return integer
  221. */
  222. public function getCategoryId()
  223. {
  224. return $this->categoryId;
  225. }
  226. /**
  227. * Set cId
  228. *
  229. * @param integer $cId
  230. * @return CLp
  231. */
  232. public function setCId($cId)
  233. {
  234. $this->cId = $cId;
  235. return $this;
  236. }
  237. /**
  238. * Get cId
  239. *
  240. * @return integer
  241. */
  242. public function getCId()
  243. {
  244. return $this->cId;
  245. }
  246. /**
  247. * Set id
  248. *
  249. * @param integer $id
  250. * @return CLp
  251. */
  252. public function setId($id)
  253. {
  254. $this->id = $id;
  255. return $this;
  256. }
  257. /**
  258. * Get id
  259. *
  260. * @return integer
  261. */
  262. public function getId()
  263. {
  264. return $this->id;
  265. }
  266. /**
  267. * Set lpType
  268. *
  269. * @param integer $lpType
  270. * @return CLp
  271. */
  272. public function setLpType($lpType)
  273. {
  274. $this->lpType = $lpType;
  275. return $this;
  276. }
  277. /**
  278. * Get lpType
  279. *
  280. * @return integer
  281. */
  282. public function getLpType()
  283. {
  284. return $this->lpType;
  285. }
  286. /**
  287. * Set name
  288. *
  289. * @param string $name
  290. * @return CLp
  291. */
  292. public function setName($name)
  293. {
  294. $this->name = $name;
  295. return $this;
  296. }
  297. /**
  298. * Get name
  299. *
  300. * @return string
  301. */
  302. public function getName()
  303. {
  304. return $this->name;
  305. }
  306. /**
  307. * Set ref
  308. *
  309. * @param string $ref
  310. * @return CLp
  311. */
  312. public function setRef($ref)
  313. {
  314. $this->ref = $ref;
  315. return $this;
  316. }
  317. /**
  318. * Get ref
  319. *
  320. * @return string
  321. */
  322. public function getRef()
  323. {
  324. return $this->ref;
  325. }
  326. /**
  327. * Set description
  328. *
  329. * @param string $description
  330. * @return CLp
  331. */
  332. public function setDescription($description)
  333. {
  334. $this->description = $description;
  335. return $this;
  336. }
  337. /**
  338. * Get description
  339. *
  340. * @return string
  341. */
  342. public function getDescription()
  343. {
  344. return $this->description;
  345. }
  346. /**
  347. * Set path
  348. *
  349. * @param string $path
  350. * @return CLp
  351. */
  352. public function setPath($path)
  353. {
  354. $this->path = $path;
  355. return $this;
  356. }
  357. /**
  358. * Get path
  359. *
  360. * @return string
  361. */
  362. public function getPath()
  363. {
  364. return $this->path;
  365. }
  366. /**
  367. * Set forceCommit
  368. *
  369. * @param boolean $forceCommit
  370. * @return CLp
  371. */
  372. public function setForceCommit($forceCommit)
  373. {
  374. $this->forceCommit = $forceCommit;
  375. return $this;
  376. }
  377. /**
  378. * Get forceCommit
  379. *
  380. * @return boolean
  381. */
  382. public function getForceCommit()
  383. {
  384. return $this->forceCommit;
  385. }
  386. /**
  387. * Set defaultViewMod
  388. *
  389. * @param string $defaultViewMod
  390. * @return CLp
  391. */
  392. public function setDefaultViewMod($defaultViewMod)
  393. {
  394. $this->defaultViewMod = $defaultViewMod;
  395. return $this;
  396. }
  397. /**
  398. * Get defaultViewMod
  399. *
  400. * @return string
  401. */
  402. public function getDefaultViewMod()
  403. {
  404. return $this->defaultViewMod;
  405. }
  406. /**
  407. * Set defaultEncoding
  408. *
  409. * @param string $defaultEncoding
  410. * @return CLp
  411. */
  412. public function setDefaultEncoding($defaultEncoding)
  413. {
  414. $this->defaultEncoding = $defaultEncoding;
  415. return $this;
  416. }
  417. /**
  418. * Get defaultEncoding
  419. *
  420. * @return string
  421. */
  422. public function getDefaultEncoding()
  423. {
  424. return $this->defaultEncoding;
  425. }
  426. /**
  427. * Set displayOrder
  428. *
  429. * @param integer $displayOrder
  430. * @return CLp
  431. */
  432. public function setDisplayOrder($displayOrder)
  433. {
  434. $this->displayOrder = $displayOrder;
  435. return $this;
  436. }
  437. /**
  438. * Get displayOrder
  439. *
  440. * @return integer
  441. */
  442. public function getDisplayOrder()
  443. {
  444. return $this->displayOrder;
  445. }
  446. /**
  447. * Set contentMaker
  448. *
  449. * @param string $contentMaker
  450. * @return CLp
  451. */
  452. public function setContentMaker($contentMaker)
  453. {
  454. $this->contentMaker = $contentMaker;
  455. return $this;
  456. }
  457. /**
  458. * Get contentMaker
  459. *
  460. * @return string
  461. */
  462. public function getContentMaker()
  463. {
  464. return $this->contentMaker;
  465. }
  466. /**
  467. * Set contentLocal
  468. *
  469. * @param string $contentLocal
  470. * @return CLp
  471. */
  472. public function setContentLocal($contentLocal)
  473. {
  474. $this->contentLocal = $contentLocal;
  475. return $this;
  476. }
  477. /**
  478. * Get contentLocal
  479. *
  480. * @return string
  481. */
  482. public function getContentLocal()
  483. {
  484. return $this->contentLocal;
  485. }
  486. /**
  487. * Set contentLicense
  488. *
  489. * @param string $contentLicense
  490. * @return CLp
  491. */
  492. public function setContentLicense($contentLicense)
  493. {
  494. $this->contentLicense = $contentLicense;
  495. return $this;
  496. }
  497. /**
  498. * Get contentLicense
  499. *
  500. * @return string
  501. */
  502. public function getContentLicense()
  503. {
  504. return $this->contentLicense;
  505. }
  506. /**
  507. * Set preventReinit
  508. *
  509. * @param boolean $preventReinit
  510. * @return CLp
  511. */
  512. public function setPreventReinit($preventReinit)
  513. {
  514. $this->preventReinit = $preventReinit;
  515. return $this;
  516. }
  517. /**
  518. * Get preventReinit
  519. *
  520. * @return boolean
  521. */
  522. public function getPreventReinit()
  523. {
  524. return $this->preventReinit;
  525. }
  526. /**
  527. * Set jsLib
  528. *
  529. * @param string $jsLib
  530. * @return CLp
  531. */
  532. public function setJsLib($jsLib)
  533. {
  534. $this->jsLib = $jsLib;
  535. return $this;
  536. }
  537. /**
  538. * Get jsLib
  539. *
  540. * @return string
  541. */
  542. public function getJsLib()
  543. {
  544. return $this->jsLib;
  545. }
  546. /**
  547. * Set debug
  548. *
  549. * @param boolean $debug
  550. * @return CLp
  551. */
  552. public function setDebug($debug)
  553. {
  554. $this->debug = $debug;
  555. return $this;
  556. }
  557. /**
  558. * Get debug
  559. *
  560. * @return boolean
  561. */
  562. public function getDebug()
  563. {
  564. return $this->debug;
  565. }
  566. /**
  567. * Set theme
  568. *
  569. * @param string $theme
  570. * @return CLp
  571. */
  572. public function setTheme($theme)
  573. {
  574. $this->theme = $theme;
  575. return $this;
  576. }
  577. /**
  578. * Get theme
  579. *
  580. * @return string
  581. */
  582. public function getTheme()
  583. {
  584. return $this->theme;
  585. }
  586. /**
  587. * Set previewImage
  588. *
  589. * @param string $previewImage
  590. * @return CLp
  591. */
  592. public function setPreviewImage($previewImage)
  593. {
  594. $this->previewImage = $previewImage;
  595. return $this;
  596. }
  597. /**
  598. * Get previewImage
  599. *
  600. * @return string
  601. */
  602. public function getPreviewImage()
  603. {
  604. return $this->previewImage;
  605. }
  606. /**
  607. * Set author
  608. *
  609. * @param string $author
  610. * @return CLp
  611. */
  612. public function setAuthor($author)
  613. {
  614. $this->author = $author;
  615. return $this;
  616. }
  617. /**
  618. * Get author
  619. *
  620. * @return string
  621. */
  622. public function getAuthor()
  623. {
  624. return $this->author;
  625. }
  626. /**
  627. * Set sessionId
  628. *
  629. * @param integer $sessionId
  630. * @return CLp
  631. */
  632. public function setSessionId($sessionId)
  633. {
  634. $this->sessionId = $sessionId;
  635. return $this;
  636. }
  637. /**
  638. * Get sessionId
  639. *
  640. * @return integer
  641. */
  642. public function getSessionId()
  643. {
  644. return $this->sessionId;
  645. }
  646. /**
  647. * Set prerequisite
  648. *
  649. * @param integer $prerequisite
  650. * @return CLp
  651. */
  652. public function setPrerequisite($prerequisite)
  653. {
  654. $this->prerequisite = $prerequisite;
  655. return $this;
  656. }
  657. /**
  658. * Get prerequisite
  659. *
  660. * @return integer
  661. */
  662. public function getPrerequisite()
  663. {
  664. return $this->prerequisite;
  665. }
  666. /**
  667. * Set hideTocFrame
  668. *
  669. * @param boolean $hideTocFrame
  670. * @return CLp
  671. */
  672. public function setHideTocFrame($hideTocFrame)
  673. {
  674. $this->hideTocFrame = $hideTocFrame;
  675. return $this;
  676. }
  677. /**
  678. * Get hideTocFrame
  679. *
  680. * @return boolean
  681. */
  682. public function getHideTocFrame()
  683. {
  684. return $this->hideTocFrame;
  685. }
  686. /**
  687. * Set seriousgameMode
  688. *
  689. * @param boolean $seriousgameMode
  690. * @return CLp
  691. */
  692. public function setSeriousgameMode($seriousgameMode)
  693. {
  694. $this->seriousgameMode = $seriousgameMode;
  695. return $this;
  696. }
  697. /**
  698. * Get seriousgameMode
  699. *
  700. * @return boolean
  701. */
  702. public function getSeriousgameMode()
  703. {
  704. return $this->seriousgameMode;
  705. }
  706. /**
  707. * Set useMaxScore
  708. *
  709. * @param integer $useMaxScore
  710. * @return CLp
  711. */
  712. public function setUseMaxScore($useMaxScore)
  713. {
  714. $this->useMaxScore = $useMaxScore;
  715. return $this;
  716. }
  717. /**
  718. * Get useMaxScore
  719. *
  720. * @return integer
  721. */
  722. public function getUseMaxScore()
  723. {
  724. return $this->useMaxScore;
  725. }
  726. /**
  727. * Set autolunch
  728. *
  729. * @param integer $autolunch
  730. * @return CLp
  731. */
  732. public function setAutolunch($autolunch)
  733. {
  734. $this->autolunch = $autolunch;
  735. return $this;
  736. }
  737. /**
  738. * Get autolunch
  739. *
  740. * @return integer
  741. */
  742. public function getAutolunch()
  743. {
  744. return $this->autolunch;
  745. }
  746. /**
  747. * Set createdOn
  748. *
  749. * @param \DateTime $createdOn
  750. * @return CLp
  751. */
  752. public function setCreatedOn($createdOn)
  753. {
  754. $this->createdOn = $createdOn;
  755. return $this;
  756. }
  757. /**
  758. * Get createdOn
  759. *
  760. * @return \DateTime
  761. */
  762. public function getCreatedOn()
  763. {
  764. return $this->createdOn;
  765. }
  766. /**
  767. * Set modifiedOn
  768. *
  769. * @param \DateTime $modifiedOn
  770. * @return CLp
  771. */
  772. public function setModifiedOn($modifiedOn)
  773. {
  774. $this->modifiedOn = $modifiedOn;
  775. return $this;
  776. }
  777. /**
  778. * Get modifiedOn
  779. *
  780. * @return \DateTime
  781. */
  782. public function getModifiedOn()
  783. {
  784. return $this->modifiedOn;
  785. }
  786. /**
  787. * Set publicatedOn
  788. *
  789. * @param \DateTime $publicatedOn
  790. * @return CLp
  791. */
  792. public function setPublicatedOn($publicatedOn)
  793. {
  794. $this->publicatedOn = $publicatedOn;
  795. return $this;
  796. }
  797. /**
  798. * Get publicatedOn
  799. *
  800. * @return \DateTime
  801. */
  802. public function getPublicatedOn()
  803. {
  804. return $this->publicatedOn;
  805. }
  806. /**
  807. * Set expiredOn
  808. *
  809. * @param \DateTime $expiredOn
  810. * @return CLp
  811. */
  812. public function setExpiredOn($expiredOn)
  813. {
  814. $this->expiredOn = $expiredOn;
  815. return $this;
  816. }
  817. /**
  818. * Get expiredOn
  819. *
  820. * @return \DateTime
  821. */
  822. public function getExpiredOn()
  823. {
  824. return $this->expiredOn;
  825. }
  826. }