123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * CLp
- *
- * @ORM\Table(name="c_lp")
- * @ORM\Entity(repositoryClass="Entity\Repository\LpRepository")
- */
- class CLp
- {
- /**
- * @var integer
- *
- * @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @ORM\Id
- * @ORM\GeneratedValue(strategy="IDENTITY")
- */
- private $id;
- /**
- * @var integer
- *
- * @ORM\Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $cId;
- /**
- * @var integer
- *
- * @ORM\Column(name="lp_type", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $lpType;
- /**
- * @var string
- *
- * @ORM\Column(name="name", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
- */
- private $name;
- /**
- * @var string
- *
- * @ORM\Column(name="ref", type="text", precision=0, scale=0, nullable=true, unique=false)
- */
- private $ref;
- /**
- * @var string
- *
- * @ORM\Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
- */
- private $description;
- /**
- * @var string
- *
- * @ORM\Column(name="path", type="text", precision=0, scale=0, nullable=false, unique=false)
- */
- private $path;
- /**
- * @var boolean
- *
- * @ORM\Column(name="force_commit", type="boolean", precision=0, scale=0, nullable=false, unique=false)
- */
- private $forceCommit;
- /**
- * @var string
- *
- * @ORM\Column(name="default_view_mod", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
- */
- private $defaultViewMod;
- /**
- * @var string
- *
- * @ORM\Column(name="default_encoding", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
- */
- private $defaultEncoding;
- /**
- * @var integer
- *
- * @ORM\Column(name="display_order", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $displayOrder;
- /**
- * @var string
- *
- * @ORM\Column(name="content_maker", type="text", precision=0, scale=0, nullable=false, unique=false)
- */
- private $contentMaker;
- /**
- * @var string
- *
- * @ORM\Column(name="content_local", type="string", length=32, precision=0, scale=0, nullable=false, unique=false)
- */
- private $contentLocal;
- /**
- * @var string
- *
- * @ORM\Column(name="content_license", type="text", precision=0, scale=0, nullable=false, unique=false)
- */
- private $contentLicense;
- /**
- * @var boolean
- *
- * @ORM\Column(name="prevent_reinit", type="boolean", precision=0, scale=0, nullable=false, unique=false)
- */
- private $preventReinit;
- /**
- * @var string
- *
- * @ORM\Column(name="js_lib", type="text", precision=0, scale=0, nullable=false, unique=false)
- */
- private $jsLib;
- /**
- * @var boolean
- *
- * @ORM\Column(name="debug", type="boolean", precision=0, scale=0, nullable=false, unique=false)
- */
- private $debug;
- /**
- * @var string
- *
- * @ORM\Column(name="theme", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
- */
- private $theme;
- /**
- * @var string
- *
- * @ORM\Column(name="preview_image", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
- */
- private $previewImage;
- /**
- * @var string
- *
- * @ORM\Column(name="author", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
- */
- private $author;
- /**
- * @var integer
- *
- * @ORM\Column(name="session_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $sessionId;
- /**
- * @var integer
- *
- * @ORM\Column(name="prerequisite", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $prerequisite;
- /**
- * @var boolean
- *
- * @ORM\Column(name="hide_toc_frame", type="boolean", precision=0, scale=0, nullable=false, unique=false)
- */
- private $hideTocFrame;
- /**
- * @var boolean
- *
- * @ORM\Column(name="seriousgame_mode", type="boolean", precision=0, scale=0, nullable=false, unique=false)
- */
- private $seriousgameMode;
- /**
- * @var integer
- *
- * @ORM\Column(name="use_max_score", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $useMaxScore;
- /**
- * @var integer
- *
- * @ORM\Column(name="autolunch", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $autolunch;
- /**
- * @var \DateTime
- *
- * @ORM\Column(name="created_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
- */
- private $createdOn;
- /**
- * @var \DateTime
- *
- * @ORM\Column(name="modified_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
- */
- private $modifiedOn;
- /**
- * @var \DateTime
- *
- * @ORM\Column(name="publicated_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
- */
- private $publicatedOn;
- /**
- * @var \DateTime
- *
- * @ORM\Column(name="expired_on", type="datetime", precision=0, scale=0, nullable=false, unique=false)
- */
- private $expiredOn;
- /**
- * @var integer
- *
- * @ORM\Column(name="category_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $categoryId;
- /**
- *
- */
- public function __construct()
- {
- }
- /**
- * Set categoryId
- *
- * @param integer $id
- * @return CLp
- */
- public function setCategoryId($id)
- {
- $this->categoryId = $id;
- return $this;
- }
- /**
- * Get categoryId
- *
- * @return integer
- */
- public function getCategoryId()
- {
- return $this->categoryId;
- }
- /**
- * Set cId
- *
- * @param integer $cId
- * @return CLp
- */
- public function setCId($cId)
- {
- $this->cId = $cId;
- return $this;
- }
- /**
- * Get cId
- *
- * @return integer
- */
- public function getCId()
- {
- return $this->cId;
- }
- /**
- * Set id
- *
- * @param integer $id
- * @return CLp
- */
- public function setId($id)
- {
- $this->id = $id;
- return $this;
- }
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set lpType
- *
- * @param integer $lpType
- * @return CLp
- */
- public function setLpType($lpType)
- {
- $this->lpType = $lpType;
- return $this;
- }
- /**
- * Get lpType
- *
- * @return integer
- */
- public function getLpType()
- {
- return $this->lpType;
- }
- /**
- * Set name
- *
- * @param string $name
- * @return CLp
- */
- public function setName($name)
- {
- $this->name = $name;
- return $this;
- }
- /**
- * Get name
- *
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
- /**
- * Set ref
- *
- * @param string $ref
- * @return CLp
- */
- public function setRef($ref)
- {
- $this->ref = $ref;
- return $this;
- }
- /**
- * Get ref
- *
- * @return string
- */
- public function getRef()
- {
- return $this->ref;
- }
- /**
- * Set description
- *
- * @param string $description
- * @return CLp
- */
- public function setDescription($description)
- {
- $this->description = $description;
- return $this;
- }
- /**
- * Get description
- *
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
- /**
- * Set path
- *
- * @param string $path
- * @return CLp
- */
- public function setPath($path)
- {
- $this->path = $path;
- return $this;
- }
- /**
- * Get path
- *
- * @return string
- */
- public function getPath()
- {
- return $this->path;
- }
- /**
- * Set forceCommit
- *
- * @param boolean $forceCommit
- * @return CLp
- */
- public function setForceCommit($forceCommit)
- {
- $this->forceCommit = $forceCommit;
- return $this;
- }
- /**
- * Get forceCommit
- *
- * @return boolean
- */
- public function getForceCommit()
- {
- return $this->forceCommit;
- }
- /**
- * Set defaultViewMod
- *
- * @param string $defaultViewMod
- * @return CLp
- */
- public function setDefaultViewMod($defaultViewMod)
- {
- $this->defaultViewMod = $defaultViewMod;
- return $this;
- }
- /**
- * Get defaultViewMod
- *
- * @return string
- */
- public function getDefaultViewMod()
- {
- return $this->defaultViewMod;
- }
- /**
- * Set defaultEncoding
- *
- * @param string $defaultEncoding
- * @return CLp
- */
- public function setDefaultEncoding($defaultEncoding)
- {
- $this->defaultEncoding = $defaultEncoding;
- return $this;
- }
- /**
- * Get defaultEncoding
- *
- * @return string
- */
- public function getDefaultEncoding()
- {
- return $this->defaultEncoding;
- }
- /**
- * Set displayOrder
- *
- * @param integer $displayOrder
- * @return CLp
- */
- public function setDisplayOrder($displayOrder)
- {
- $this->displayOrder = $displayOrder;
- return $this;
- }
- /**
- * Get displayOrder
- *
- * @return integer
- */
- public function getDisplayOrder()
- {
- return $this->displayOrder;
- }
- /**
- * Set contentMaker
- *
- * @param string $contentMaker
- * @return CLp
- */
- public function setContentMaker($contentMaker)
- {
- $this->contentMaker = $contentMaker;
- return $this;
- }
- /**
- * Get contentMaker
- *
- * @return string
- */
- public function getContentMaker()
- {
- return $this->contentMaker;
- }
- /**
- * Set contentLocal
- *
- * @param string $contentLocal
- * @return CLp
- */
- public function setContentLocal($contentLocal)
- {
- $this->contentLocal = $contentLocal;
- return $this;
- }
- /**
- * Get contentLocal
- *
- * @return string
- */
- public function getContentLocal()
- {
- return $this->contentLocal;
- }
- /**
- * Set contentLicense
- *
- * @param string $contentLicense
- * @return CLp
- */
- public function setContentLicense($contentLicense)
- {
- $this->contentLicense = $contentLicense;
- return $this;
- }
- /**
- * Get contentLicense
- *
- * @return string
- */
- public function getContentLicense()
- {
- return $this->contentLicense;
- }
- /**
- * Set preventReinit
- *
- * @param boolean $preventReinit
- * @return CLp
- */
- public function setPreventReinit($preventReinit)
- {
- $this->preventReinit = $preventReinit;
- return $this;
- }
- /**
- * Get preventReinit
- *
- * @return boolean
- */
- public function getPreventReinit()
- {
- return $this->preventReinit;
- }
- /**
- * Set jsLib
- *
- * @param string $jsLib
- * @return CLp
- */
- public function setJsLib($jsLib)
- {
- $this->jsLib = $jsLib;
- return $this;
- }
- /**
- * Get jsLib
- *
- * @return string
- */
- public function getJsLib()
- {
- return $this->jsLib;
- }
- /**
- * Set debug
- *
- * @param boolean $debug
- * @return CLp
- */
- public function setDebug($debug)
- {
- $this->debug = $debug;
- return $this;
- }
- /**
- * Get debug
- *
- * @return boolean
- */
- public function getDebug()
- {
- return $this->debug;
- }
- /**
- * Set theme
- *
- * @param string $theme
- * @return CLp
- */
- public function setTheme($theme)
- {
- $this->theme = $theme;
- return $this;
- }
- /**
- * Get theme
- *
- * @return string
- */
- public function getTheme()
- {
- return $this->theme;
- }
- /**
- * Set previewImage
- *
- * @param string $previewImage
- * @return CLp
- */
- public function setPreviewImage($previewImage)
- {
- $this->previewImage = $previewImage;
- return $this;
- }
- /**
- * Get previewImage
- *
- * @return string
- */
- public function getPreviewImage()
- {
- return $this->previewImage;
- }
- /**
- * Set author
- *
- * @param string $author
- * @return CLp
- */
- public function setAuthor($author)
- {
- $this->author = $author;
- return $this;
- }
- /**
- * Get author
- *
- * @return string
- */
- public function getAuthor()
- {
- return $this->author;
- }
- /**
- * Set sessionId
- *
- * @param integer $sessionId
- * @return CLp
- */
- public function setSessionId($sessionId)
- {
- $this->sessionId = $sessionId;
- return $this;
- }
- /**
- * Get sessionId
- *
- * @return integer
- */
- public function getSessionId()
- {
- return $this->sessionId;
- }
- /**
- * Set prerequisite
- *
- * @param integer $prerequisite
- * @return CLp
- */
- public function setPrerequisite($prerequisite)
- {
- $this->prerequisite = $prerequisite;
- return $this;
- }
- /**
- * Get prerequisite
- *
- * @return integer
- */
- public function getPrerequisite()
- {
- return $this->prerequisite;
- }
- /**
- * Set hideTocFrame
- *
- * @param boolean $hideTocFrame
- * @return CLp
- */
- public function setHideTocFrame($hideTocFrame)
- {
- $this->hideTocFrame = $hideTocFrame;
- return $this;
- }
- /**
- * Get hideTocFrame
- *
- * @return boolean
- */
- public function getHideTocFrame()
- {
- return $this->hideTocFrame;
- }
- /**
- * Set seriousgameMode
- *
- * @param boolean $seriousgameMode
- * @return CLp
- */
- public function setSeriousgameMode($seriousgameMode)
- {
- $this->seriousgameMode = $seriousgameMode;
- return $this;
- }
- /**
- * Get seriousgameMode
- *
- * @return boolean
- */
- public function getSeriousgameMode()
- {
- return $this->seriousgameMode;
- }
- /**
- * Set useMaxScore
- *
- * @param integer $useMaxScore
- * @return CLp
- */
- public function setUseMaxScore($useMaxScore)
- {
- $this->useMaxScore = $useMaxScore;
- return $this;
- }
- /**
- * Get useMaxScore
- *
- * @return integer
- */
- public function getUseMaxScore()
- {
- return $this->useMaxScore;
- }
- /**
- * Set autolunch
- *
- * @param integer $autolunch
- * @return CLp
- */
- public function setAutolunch($autolunch)
- {
- $this->autolunch = $autolunch;
- return $this;
- }
- /**
- * Get autolunch
- *
- * @return integer
- */
- public function getAutolunch()
- {
- return $this->autolunch;
- }
- /**
- * Set createdOn
- *
- * @param \DateTime $createdOn
- * @return CLp
- */
- public function setCreatedOn($createdOn)
- {
- $this->createdOn = $createdOn;
- return $this;
- }
- /**
- * Get createdOn
- *
- * @return \DateTime
- */
- public function getCreatedOn()
- {
- return $this->createdOn;
- }
- /**
- * Set modifiedOn
- *
- * @param \DateTime $modifiedOn
- * @return CLp
- */
- public function setModifiedOn($modifiedOn)
- {
- $this->modifiedOn = $modifiedOn;
- return $this;
- }
- /**
- * Get modifiedOn
- *
- * @return \DateTime
- */
- public function getModifiedOn()
- {
- return $this->modifiedOn;
- }
- /**
- * Set publicatedOn
- *
- * @param \DateTime $publicatedOn
- * @return CLp
- */
- public function setPublicatedOn($publicatedOn)
- {
- $this->publicatedOn = $publicatedOn;
- return $this;
- }
- /**
- * Get publicatedOn
- *
- * @return \DateTime
- */
- public function getPublicatedOn()
- {
- return $this->publicatedOn;
- }
- /**
- * Set expiredOn
- *
- * @param \DateTime $expiredOn
- * @return CLp
- */
- public function setExpiredOn($expiredOn)
- {
- $this->expiredOn = $expiredOn;
- return $this;
- }
- /**
- * Get expiredOn
- *
- * @return \DateTime
- */
- public function getExpiredOn()
- {
- return $this->expiredOn;
- }
- }
|