EntityCPermissionUser.php 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <?php
  2. use Doctrine\ORM\Mapping as ORM;
  3. /**
  4. * EntityCPermissionUser
  5. *
  6. * @Table(name="c_permission_user")
  7. * @Entity
  8. */
  9. class EntityCPermissionUser
  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 integer
  29. *
  30. * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  31. */
  32. private $userId;
  33. /**
  34. * @var string
  35. *
  36. * @Column(name="tool", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
  37. */
  38. private $tool;
  39. /**
  40. * @var string
  41. *
  42. * @Column(name="action", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
  43. */
  44. private $action;
  45. /**
  46. * Set cId
  47. *
  48. * @param integer $cId
  49. * @return EntityCPermissionUser
  50. */
  51. public function setCId($cId)
  52. {
  53. $this->cId = $cId;
  54. return $this;
  55. }
  56. /**
  57. * Get cId
  58. *
  59. * @return integer
  60. */
  61. public function getCId()
  62. {
  63. return $this->cId;
  64. }
  65. /**
  66. * Set id
  67. *
  68. * @param integer $id
  69. * @return EntityCPermissionUser
  70. */
  71. public function setId($id)
  72. {
  73. $this->id = $id;
  74. return $this;
  75. }
  76. /**
  77. * Get id
  78. *
  79. * @return integer
  80. */
  81. public function getId()
  82. {
  83. return $this->id;
  84. }
  85. /**
  86. * Set userId
  87. *
  88. * @param integer $userId
  89. * @return EntityCPermissionUser
  90. */
  91. public function setUserId($userId)
  92. {
  93. $this->userId = $userId;
  94. return $this;
  95. }
  96. /**
  97. * Get userId
  98. *
  99. * @return integer
  100. */
  101. public function getUserId()
  102. {
  103. return $this->userId;
  104. }
  105. /**
  106. * Set tool
  107. *
  108. * @param string $tool
  109. * @return EntityCPermissionUser
  110. */
  111. public function setTool($tool)
  112. {
  113. $this->tool = $tool;
  114. return $this;
  115. }
  116. /**
  117. * Get tool
  118. *
  119. * @return string
  120. */
  121. public function getTool()
  122. {
  123. return $this->tool;
  124. }
  125. /**
  126. * Set action
  127. *
  128. * @param string $action
  129. * @return EntityCPermissionUser
  130. */
  131. public function setAction($action)
  132. {
  133. $this->action = $action;
  134. return $this;
  135. }
  136. /**
  137. * Get action
  138. *
  139. * @return string
  140. */
  141. public function getAction()
  142. {
  143. return $this->action;
  144. }
  145. }