EntityCTool.php 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntityCTool
  5. *
  6. * @Table(name="c_tool")
  7. * @Entity
  8. */
  9. class EntityCTool
  10. {
  11. /**
  12. * @var integer
  13. *
  14. * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  15. * @Id
  16. * @GeneratedValue(strategy="NONE")
  17. */
  18. private $cId;
  19. /**
  20. * @var integer
  21. *
  22. * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  23. * @Id
  24. * @GeneratedValue(strategy="NONE")
  25. */
  26. private $id;
  27. /**
  28. * @var string
  29. *
  30. * @Column(name="name", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  31. */
  32. private $name;
  33. /**
  34. * @var string
  35. *
  36. * @Column(name="link", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
  37. */
  38. private $link;
  39. /**
  40. * @var string
  41. *
  42. * @Column(name="image", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
  43. */
  44. private $image;
  45. /**
  46. * @var boolean
  47. *
  48. * @Column(name="visibility", type="boolean", precision=0, scale=0, nullable=true, unique=false)
  49. */
  50. private $visibility;
  51. /**
  52. * @var string
  53. *
  54. * @Column(name="admin", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
  55. */
  56. private $admin;
  57. /**
  58. * @var string
  59. *
  60. * @Column(name="address", type="string", length=255, precision=0, scale=0, nullable=true, unique=false)
  61. */
  62. private $address;
  63. /**
  64. * @var boolean
  65. *
  66. * @Column(name="added_tool", type="boolean", precision=0, scale=0, nullable=true, unique=false)
  67. */
  68. private $addedTool;
  69. /**
  70. * @var string
  71. *
  72. * @Column(name="target", type="string", precision=0, scale=0, nullable=false, unique=false)
  73. */
  74. private $target;
  75. /**
  76. * @var string
  77. *
  78. * @Column(name="category", type="string", length=20, precision=0, scale=0, nullable=false, unique=false)
  79. */
  80. private $category;
  81. /**
  82. * @var integer
  83. *
  84. * @Column(name="session_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  85. */
  86. private $sessionId;
  87. /**
  88. * Set cId
  89. *
  90. * @param integer $cId
  91. * @return EntityCTool
  92. */
  93. public function setCId($cId)
  94. {
  95. $this->cId = $cId;
  96. return $this;
  97. }
  98. /**
  99. * Get cId
  100. *
  101. * @return integer
  102. */
  103. public function getCId()
  104. {
  105. return $this->cId;
  106. }
  107. /**
  108. * Set id
  109. *
  110. * @param integer $id
  111. * @return EntityCTool
  112. */
  113. public function setId($id)
  114. {
  115. $this->id = $id;
  116. return $this;
  117. }
  118. /**
  119. * Get id
  120. *
  121. * @return integer
  122. */
  123. public function getId()
  124. {
  125. return $this->id;
  126. }
  127. /**
  128. * Set name
  129. *
  130. * @param string $name
  131. * @return EntityCTool
  132. */
  133. public function setName($name)
  134. {
  135. $this->name = $name;
  136. return $this;
  137. }
  138. /**
  139. * Get name
  140. *
  141. * @return string
  142. */
  143. public function getName()
  144. {
  145. return $this->name;
  146. }
  147. /**
  148. * Set link
  149. *
  150. * @param string $link
  151. * @return EntityCTool
  152. */
  153. public function setLink($link)
  154. {
  155. $this->link = $link;
  156. return $this;
  157. }
  158. /**
  159. * Get link
  160. *
  161. * @return string
  162. */
  163. public function getLink()
  164. {
  165. return $this->link;
  166. }
  167. /**
  168. * Set image
  169. *
  170. * @param string $image
  171. * @return EntityCTool
  172. */
  173. public function setImage($image)
  174. {
  175. $this->image = $image;
  176. return $this;
  177. }
  178. /**
  179. * Get image
  180. *
  181. * @return string
  182. */
  183. public function getImage()
  184. {
  185. return $this->image;
  186. }
  187. /**
  188. * Set visibility
  189. *
  190. * @param boolean $visibility
  191. * @return EntityCTool
  192. */
  193. public function setVisibility($visibility)
  194. {
  195. $this->visibility = $visibility;
  196. return $this;
  197. }
  198. /**
  199. * Get visibility
  200. *
  201. * @return boolean
  202. */
  203. public function getVisibility()
  204. {
  205. return $this->visibility;
  206. }
  207. /**
  208. * Set admin
  209. *
  210. * @param string $admin
  211. * @return EntityCTool
  212. */
  213. public function setAdmin($admin)
  214. {
  215. $this->admin = $admin;
  216. return $this;
  217. }
  218. /**
  219. * Get admin
  220. *
  221. * @return string
  222. */
  223. public function getAdmin()
  224. {
  225. return $this->admin;
  226. }
  227. /**
  228. * Set address
  229. *
  230. * @param string $address
  231. * @return EntityCTool
  232. */
  233. public function setAddress($address)
  234. {
  235. $this->address = $address;
  236. return $this;
  237. }
  238. /**
  239. * Get address
  240. *
  241. * @return string
  242. */
  243. public function getAddress()
  244. {
  245. return $this->address;
  246. }
  247. /**
  248. * Set addedTool
  249. *
  250. * @param boolean $addedTool
  251. * @return EntityCTool
  252. */
  253. public function setAddedTool($addedTool)
  254. {
  255. $this->addedTool = $addedTool;
  256. return $this;
  257. }
  258. /**
  259. * Get addedTool
  260. *
  261. * @return boolean
  262. */
  263. public function getAddedTool()
  264. {
  265. return $this->addedTool;
  266. }
  267. /**
  268. * Set target
  269. *
  270. * @param string $target
  271. * @return EntityCTool
  272. */
  273. public function setTarget($target)
  274. {
  275. $this->target = $target;
  276. return $this;
  277. }
  278. /**
  279. * Get target
  280. *
  281. * @return string
  282. */
  283. public function getTarget()
  284. {
  285. return $this->target;
  286. }
  287. /**
  288. * Set category
  289. *
  290. * @param string $category
  291. * @return EntityCTool
  292. */
  293. public function setCategory($category)
  294. {
  295. $this->category = $category;
  296. return $this;
  297. }
  298. /**
  299. * Get category
  300. *
  301. * @return string
  302. */
  303. public function getCategory()
  304. {
  305. return $this->category;
  306. }
  307. /**
  308. * Set sessionId
  309. *
  310. * @param integer $sessionId
  311. * @return EntityCTool
  312. */
  313. public function setSessionId($sessionId)
  314. {
  315. $this->sessionId = $sessionId;
  316. return $this;
  317. }
  318. /**
  319. * Get sessionId
  320. *
  321. * @return integer
  322. */
  323. public function getSessionId()
  324. {
  325. return $this->sessionId;
  326. }
  327. }