JuryMemberRelUser.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * JuryMemberRelUser
  6. *
  7. * @ORM\Table(name="jury_member_rel_user")
  8. * @ORM\Entity()
  9. */
  10. class JuryMemberRelUser
  11. {
  12. /**
  13. * @var integer
  14. *
  15. * @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
  16. * @ORM\Id
  17. * @ORM\GeneratedValue(strategy="IDENTITY")
  18. */
  19. private $id;
  20. /**
  21. * @var integer
  22. *
  23. * @ORM\Column(name="user_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  24. */
  25. private $userId;
  26. /**
  27. * @var integer
  28. *
  29. * @ORM\Column(name="jury_member_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
  30. */
  31. private $juryMemberId;
  32. /**
  33. * @ORM\ManyToOne(targetEntity="JuryMembers")
  34. * @ORM\JoinColumn(name="jury_member_id", referencedColumnName="id")
  35. */
  36. private $member;
  37. /**
  38. *
  39. */
  40. public function __construct()
  41. {
  42. }
  43. public function setMember($member)
  44. {
  45. $this->member = $member;
  46. }
  47. public function getMember()
  48. {
  49. return $this->member;
  50. }
  51. /**
  52. * Get id
  53. *
  54. * @return integer
  55. */
  56. public function getId()
  57. {
  58. return $this->id;
  59. }
  60. /**
  61. * Set UserId
  62. *
  63. * @param int $userId
  64. * @return Jury
  65. */
  66. public function setUserId($userId)
  67. {
  68. $this->userId = $userId;
  69. return $this;
  70. }
  71. /**
  72. * Get user id
  73. *
  74. * @return string
  75. */
  76. public function getUserId()
  77. {
  78. return $this->userId;
  79. }
  80. /**
  81. * Set setJuryMemberId
  82. *
  83. * @param integer $value
  84. * @return Jury
  85. */
  86. public function setJuryMemberId($value)
  87. {
  88. $this->juryMemberId = $value;
  89. return $this;
  90. }
  91. /**
  92. * Get juryMemberId
  93. *
  94. * @return integer
  95. */
  96. public function getJuryMemberId()
  97. {
  98. return $this->juryMemberId;
  99. }
  100. }