123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 |
- <?php
- use Doctrine\ORM\Mapping as ORM;
- /**
- * EntityCBlog
- *
- * @Table(name="c_blog")
- * @Entity
- */
- class EntityCBlog
- {
- /**
- * @var integer
- *
- * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @Id
- * @GeneratedValue(strategy="NONE")
- */
- private $cId;
- /**
- * @var integer
- *
- * @Column(name="blog_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @Id
- * @GeneratedValue(strategy="NONE")
- */
- private $blogId;
- /**
- * @var string
- *
- * @Column(name="blog_name", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
- */
- private $blogName;
- /**
- * @var string
- *
- * @Column(name="blog_subtitle", type="string", length=250, precision=0, scale=0, nullable=true, unique=false)
- */
- private $blogSubtitle;
- /**
- * @var \DateTime
- *
- * @Column(name="date_creation", type="datetime", precision=0, scale=0, nullable=false, unique=false)
- */
- private $dateCreation;
- /**
- * @var boolean
- *
- * @Column(name="visibility", type="boolean", precision=0, scale=0, nullable=false, unique=false)
- */
- private $visibility;
- /**
- * @var integer
- *
- * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
- */
- private $sessionId;
- /**
- * Set cId
- *
- * @param integer $cId
- * @return EntityCBlog
- */
- public function setCId($cId)
- {
- $this->cId = $cId;
- return $this;
- }
- /**
- * Get cId
- *
- * @return integer
- */
- public function getCId()
- {
- return $this->cId;
- }
- /**
- * Set blogId
- *
- * @param integer $blogId
- * @return EntityCBlog
- */
- public function setBlogId($blogId)
- {
- $this->blogId = $blogId;
- return $this;
- }
- /**
- * Get blogId
- *
- * @return integer
- */
- public function getBlogId()
- {
- return $this->blogId;
- }
- /**
- * Set blogName
- *
- * @param string $blogName
- * @return EntityCBlog
- */
- public function setBlogName($blogName)
- {
- $this->blogName = $blogName;
- return $this;
- }
- /**
- * Get blogName
- *
- * @return string
- */
- public function getBlogName()
- {
- return $this->blogName;
- }
- /**
- * Set blogSubtitle
- *
- * @param string $blogSubtitle
- * @return EntityCBlog
- */
- public function setBlogSubtitle($blogSubtitle)
- {
- $this->blogSubtitle = $blogSubtitle;
- return $this;
- }
- /**
- * Get blogSubtitle
- *
- * @return string
- */
- public function getBlogSubtitle()
- {
- return $this->blogSubtitle;
- }
- /**
- * Set dateCreation
- *
- * @param \DateTime $dateCreation
- * @return EntityCBlog
- */
- public function setDateCreation($dateCreation)
- {
- $this->dateCreation = $dateCreation;
- return $this;
- }
- /**
- * Get dateCreation
- *
- * @return \DateTime
- */
- public function getDateCreation()
- {
- return $this->dateCreation;
- }
- /**
- * Set visibility
- *
- * @param boolean $visibility
- * @return EntityCBlog
- */
- public function setVisibility($visibility)
- {
- $this->visibility = $visibility;
- return $this;
- }
- /**
- * Get visibility
- *
- * @return boolean
- */
- public function getVisibility()
- {
- return $this->visibility;
- }
- /**
- * Set sessionId
- *
- * @param integer $sessionId
- * @return EntityCBlog
- */
- public function setSessionId($sessionId)
- {
- $this->sessionId = $sessionId;
- return $this;
- }
- /**
- * Get sessionId
- *
- * @return integer
- */
- public function getSessionId()
- {
- return $this->sessionId;
- }
- }
|