<?php

namespace OfficeBrain\Bundle\GreenBookBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * GreenbookDistributorRecipients
 *
 * @ORM\Table(name="tbl_greenbook_distributor_recipients")
 * @ORM\Entity(repositoryClass="OfficeBrain\Bundle\GreenBookBundle\Entity\GreenbookDistributorRecipientsRepository")
 */
class GreenbookDistributorRecipients
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="bigint", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var integer
     *
     * @ORM\Column(name="group_id", type="bigint", nullable=false)
     */
    private $groupId;

    /**
     * @var integer
     *
     * @ORM\Column(name="distributor_id", type="integer", nullable=false)
     */
    private $distributorId;



    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set groupId
     *
     * @param integer $groupId
     * @return GreenbookDistributorRecipients
     */
    public function setGroupId($groupId)
    {
        $this->groupId = $groupId;

        return $this;
    }

    /**
     * Get groupId
     *
     * @return integer 
     */
    public function getGroupId()
    {
        return $this->groupId;
    }

    /**
     * Set distributorId
     *
     * @param integer $distributorId
     * @return GreenbookDistributorRecipients
     */
    public function setDistributorId($distributorId)
    {
        $this->distributorId = $distributorId;

        return $this;
    }

    /**
     * Get distributorId
     *
     * @return integer 
     */
    public function getDistributorId()
    {
        return $this->distributorId;
    }
}
