<?php
/**
* Weak entity to bridge Galleries and Websites accross different entity managers
*
* $Project: Alliancemarkets2 $
* $Id$
*
* @package alliancemarkets2
* @author George Matyas <webexciter@yahoo.com>
* @version $Revision$
*/
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\EntityRepo\GalleryWebsiteRepo")
* @ORM\Table(name="gallery_website")
*/
class GalleryWebsite
{
/**
* @ORM\Column(type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $galleryWebsiteId=0;
/**
* @ORM\Column(type="integer", length=100)
*/
protected $WebsiteId=0;
/**
* Get galleryWebsiteId
*
* @return integer
*/
public function getGalleryWebsiteId()
{
return $this->galleryWebsiteId;
}
/**
* Set websiteId
*
* @param integer $websiteId
*
* @return GalleryWebsite
*/
public function setWebsiteId($websiteId)
{
$this->WebsiteId = $websiteId;
return $this;
}
/**
* Get websiteId
*
* @return integer
*/
public function getWebsiteId()
{
return $this->WebsiteId;
}
}