123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- <?php
- use Doctrine\ORM\Mapping as ORM;
- /**
- * EntityBlock
- *
- * @Table(name="block")
- * @Entity
- */
- class EntityBlock
- {
- /**
- * @var integer
- *
- * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @Id
- * @GeneratedValue(strategy="IDENTITY")
- */
- private $id;
- /**
- * @var string
- *
- * @Column(name="name", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
- */
- private $name;
- /**
- * @var string
- *
- * @Column(name="description", type="text", precision=0, scale=0, nullable=true, unique=false)
- */
- private $description;
- /**
- * @var string
- *
- * @Column(name="path", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
- */
- private $path;
- /**
- * @var string
- *
- * @Column(name="controller", type="string", length=100, precision=0, scale=0, nullable=false, unique=false)
- */
- private $controller;
- /**
- * @var boolean
- *
- * @Column(name="active", type="boolean", precision=0, scale=0, nullable=false, unique=false)
- */
- private $active;
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set name
- *
- * @param string $name
- * @return EntityBlock
- */
- public function setName($name)
- {
- $this->name = $name;
- return $this;
- }
- /**
- * Get name
- *
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
- /**
- * Set description
- *
- * @param string $description
- * @return EntityBlock
- */
- 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 EntityBlock
- */
- public function setPath($path)
- {
- $this->path = $path;
- return $this;
- }
- /**
- * Get path
- *
- * @return string
- */
- public function getPath()
- {
- return $this->path;
- }
- /**
- * Set controller
- *
- * @param string $controller
- * @return EntityBlock
- */
- public function setController($controller)
- {
- $this->controller = $controller;
- return $this;
- }
- /**
- * Get controller
- *
- * @return string
- */
- public function getController()
- {
- return $this->controller;
- }
- /**
- * Set active
- *
- * @param boolean $active
- * @return EntityBlock
- */
- public function setActive($active)
- {
- $this->active = $active;
- return $this;
- }
- /**
- * Get active
- *
- * @return boolean
- */
- public function getActive()
- {
- return $this->active;
- }
- }
|