123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379 |
- <?php
- use Doctrine\ORM\Mapping as ORM;
- /**
- * EntityCTool
- *
- * @Table(name="c_tool")
- * @Entity
- */
- class EntityCTool
- {
- /**
- * @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="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @Id
- * @GeneratedValue(strategy="NONE")
- */
- private $id;
- /**
- * @var string
- *
- * @Column(name="name", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
- */
- private $name;
- /**
- * @var string
- *
- * @Column(name="link", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
- */
- private $link;
- /**
- * @var string
- *
- * @Column(name="image", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
- */
- private $image;
- /**
- * @var boolean
- *
- * @Column(name="visibility", type="boolean", precision=0, scale=0, nullable=true, unique=false)
- */
- private $visibility;
- /**
- * @var string
- *
- * @Column(name="admin", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
- */
- private $admin;
- /**
- * @var string
- *
- * @Column(name="address", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
- */
- private $address;
- /**
- * @var boolean
- *
- * @Column(name="added_tool", type="boolean", precision=0, scale=0, nullable=true, unique=false)
- */
- private $addedTool;
- /**
- * @var string
- *
- * @Column(name="target", type="string", precision=0, scale=0, nullable=false, unique=false)
- */
- private $target;
- /**
- * @var string
- *
- * @Column(name="category", type="string", length=20, precision=0, scale=0, nullable=false, unique=false)
- */
- private $category;
- /**
- * @var integer
- *
- * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
- */
- private $sessionId;
- /**
- * Set cId
- *
- * @param integer $cId
- * @return EntityCTool
- */
- 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 EntityCTool
- */
- public function setId($id)
- {
- $this->id = $id;
- return $this;
- }
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set name
- *
- * @param string $name
- * @return EntityCTool
- */
- public function setName($name)
- {
- $this->name = $name;
- return $this;
- }
- /**
- * Get name
- *
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
- /**
- * Set link
- *
- * @param string $link
- * @return EntityCTool
- */
- public function setLink($link)
- {
- $this->link = $link;
- return $this;
- }
- /**
- * Get link
- *
- * @return string
- */
- public function getLink()
- {
- return $this->link;
- }
- /**
- * Set image
- *
- * @param string $image
- * @return EntityCTool
- */
- public function setImage($image)
- {
- $this->image = $image;
- return $this;
- }
- /**
- * Get image
- *
- * @return string
- */
- public function getImage()
- {
- return $this->image;
- }
- /**
- * Set visibility
- *
- * @param boolean $visibility
- * @return EntityCTool
- */
- public function setVisibility($visibility)
- {
- $this->visibility = $visibility;
- return $this;
- }
- /**
- * Get visibility
- *
- * @return boolean
- */
- public function getVisibility()
- {
- return $this->visibility;
- }
- /**
- * Set admin
- *
- * @param string $admin
- * @return EntityCTool
- */
- public function setAdmin($admin)
- {
- $this->admin = $admin;
- return $this;
- }
- /**
- * Get admin
- *
- * @return string
- */
- public function getAdmin()
- {
- return $this->admin;
- }
- /**
- * Set address
- *
- * @param string $address
- * @return EntityCTool
- */
- public function setAddress($address)
- {
- $this->address = $address;
- return $this;
- }
- /**
- * Get address
- *
- * @return string
- */
- public function getAddress()
- {
- return $this->address;
- }
- /**
- * Set addedTool
- *
- * @param boolean $addedTool
- * @return EntityCTool
- */
- public function setAddedTool($addedTool)
- {
- $this->addedTool = $addedTool;
- return $this;
- }
- /**
- * Get addedTool
- *
- * @return boolean
- */
- public function getAddedTool()
- {
- return $this->addedTool;
- }
- /**
- * Set target
- *
- * @param string $target
- * @return EntityCTool
- */
- public function setTarget($target)
- {
- $this->target = $target;
- return $this;
- }
- /**
- * Get target
- *
- * @return string
- */
- public function getTarget()
- {
- return $this->target;
- }
- /**
- * Set category
- *
- * @param string $category
- * @return EntityCTool
- */
- public function setCategory($category)
- {
- $this->category = $category;
- return $this;
- }
- /**
- * Get category
- *
- * @return string
- */
- public function getCategory()
- {
- return $this->category;
- }
- /**
- * Set sessionId
- *
- * @param integer $sessionId
- * @return EntityCTool
- */
- public function setSessionId($sessionId)
- {
- $this->sessionId = $sessionId;
- return $this;
- }
- /**
- * Get sessionId
- *
- * @return integer
- */
- public function getSessionId()
- {
- return $this->sessionId;
- }
- }
|