123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * JuryMemberRelUser
- *
- * @ORM\Table(name="jury_member_rel_user")
- * @ORM\Entity()
- */
- class JuryMemberRelUser
- {
- /**
- * @var integer
- *
- * @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @ORM\Id
- * @ORM\GeneratedValue(strategy="IDENTITY")
- */
- private $id;
- /**
- * @var integer
- *
- * @ORM\Column(name="user_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
- */
- private $userId;
- /**
- * @var integer
- *
- * @ORM\Column(name="jury_member_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
- */
- private $juryMemberId;
- /**
- * @ORM\ManyToOne(targetEntity="JuryMembers")
- * @ORM\JoinColumn(name="jury_member_id", referencedColumnName="id")
- */
- private $member;
- /**
- *
- */
- public function __construct()
- {
- }
- public function setMember($member)
- {
- $this->member = $member;
- }
- public function getMember()
- {
- return $this->member;
- }
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set UserId
- *
- * @param int $userId
- * @return Jury
- */
- public function setUserId($userId)
- {
- $this->userId = $userId;
- return $this;
- }
- /**
- * Get user id
- *
- * @return string
- */
- public function getUserId()
- {
- return $this->userId;
- }
- /**
- * Set setJuryMemberId
- *
- * @param integer $value
- * @return Jury
- */
- public function setJuryMemberId($value)
- {
- $this->juryMemberId = $value;
- return $this;
- }
- /**
- * Get juryMemberId
- *
- * @return integer
- */
- public function getJuryMemberId()
- {
- return $this->juryMemberId;
- }
- }
|