AccessUrlRelUser.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * AccessUrlRelUser
  6. *
  7. * @ORM\Table(name="access_url_rel_user")
  8. * @ORM\Entity
  9. */
  10. class AccessUrlRelUser
  11. {
  12. /**
  13. * @var integer
  14. *
  15. * @ORM\Column(name="access_url_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  16. * @ORM\Id
  17. * @ORM\GeneratedValue(strategy="NONE")
  18. */
  19. private $accessUrlId;
  20. /**
  21. * @var integer
  22. *
  23. * @ORM\Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  24. * @ORM\Id
  25. * @ORM\GeneratedValue(strategy="NONE")
  26. */
  27. private $userId;
  28. /**
  29. * Set accessUrlId
  30. *
  31. * @param integer $accessUrlId
  32. * @return AccessUrlRelUser
  33. */
  34. public function setAccessUrlId($accessUrlId)
  35. {
  36. $this->accessUrlId = $accessUrlId;
  37. return $this;
  38. }
  39. /**
  40. * Get accessUrlId
  41. *
  42. * @return integer
  43. */
  44. public function getAccessUrlId()
  45. {
  46. return $this->accessUrlId;
  47. }
  48. /**
  49. * Set userId
  50. *
  51. * @param integer $userId
  52. * @return AccessUrlRelUser
  53. */
  54. public function setUserId($userId)
  55. {
  56. $this->userId = $userId;
  57. return $this;
  58. }
  59. /**
  60. * Get userId
  61. *
  62. * @return integer
  63. */
  64. public function getUserId()
  65. {
  66. return $this->userId;
  67. }
  68. }