<?php

namespace OfficeBrain\Bundle\CouponBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * @author OfficeBrain 4835 <info@officebrain.com>
 * CouponLanguage
 *
 * @ORM\Table(name="tbl_coupon_language")
 * @ORM\Entity(repositoryClass="OfficeBrain\Bundle\CouponBundle\Entity\CouponLanguageRepository")
 */
class CouponLanguage
{
    /**
     * @var int
     *
     * @ORM\Column(type="bigint", name="id", options={"unsigned"=true})
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @ORM\ManyToOne(targetEntity="OfficeBrain\Bundle\CouponBundle\Entity\Coupon", inversedBy="languageMapping")
     * @ORM\JoinColumn(name="coupon_id", onDelete="CASCADE")
     */
    private $couponId;

    /**
     * @var int
     *
     * @ORM\Column(type="bigint", name="language_id",nullable=true)

     */
    private $languageId;

    /**
     * @var int
     *
     * @ORM\Column(type="bigint", name="country_id",nullable=true)

     */
    private $countryId;

    /**
     * @var string
     * @ORM\Column(name="coupon_title", type="string", length=255,nullable=true)
     */
    private $couponTitle;

    /**
     * @var string
     *
     * @ORM\Column(name="coupon_description", type="text",nullable=true)
     */
    private $couponDescription;

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

    /**
     * Set languageId.
     *
     * @param int $languageId
     *
     * @return CouponLanguage
     */
    public function setLanguageId($languageId)
    {
        $this->languageId = $languageId;

        return $this;
    }

    /**
     * Get languageId.
     *
     * @return int
     */
    public function getLanguageId()
    {
        return $this->languageId;
    }

    /**
     * Set countryId.
     *
     * @param int $countryId
     *
     * @return Couponcountry
     */
    public function setCountryId($countryId)
    {
        $this->countryId = $countryId;

        return $this;
    }

    /**
     * Get countryId.
     *
     * @return int
     */
    public function getCountryId()
    {
        return $this->countryId;
    }

    /**
     * Set couponTitle.
     *
     * @param string $couponTitle
     *
     * @return CouponLanguage
     */
    public function setCouponTitle($couponTitle)
    {
        $this->couponTitle = $couponTitle;

        return $this;
    }

    /**
     * Get couponTitle.
     *
     * @return string
     */
    public function getCouponTitle()
    {
        return $this->couponTitle;
    }

    /**
     * Set couponDescription.
     *
     * @param string $couponDescription
     *
     * @return CouponLanguage
     */
    public function setCouponDescription($couponDescription)
    {
        $this->couponDescription = $couponDescription;

        return $this;
    }

    /**
     * Get couponDescription.
     *
     * @return string
     */
    public function getCouponDescription()
    {
        return $this->couponDescription;
    }

    /**
     * Set couponId.
     *
     * @param \OfficeBrain\Bundle\CouponBundle\Entity\Coupon $couponId
     *
     * @return CouponLanguage
     */
    public function setCouponId(\OfficeBrain\Bundle\CouponBundle\Entity\Coupon $couponId = null)
    {
        $this->couponId = $couponId;

        return $this;
    }

    /**
     * Get couponId.
     *
     * @return \OfficeBrain\Bundle\CouponBundle\Entity\Coupon
     */
    public function getCouponId()
    {
        return $this->couponId;
    }
}
