Skip to content

Instantly share code, notes, and snippets.

@mediashowroom
Created January 25, 2013 10:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mediashowroom/715f3881a57cdd8a7d23 to your computer and use it in GitHub Desktop.
Save mediashowroom/715f3881a57cdd8a7d23 to your computer and use it in GitHub Desktop.
ABTexte-Entity
<?php
namespace xxx\yyyBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Security\Acl\Model\DomainObjectInterface;
/**
* \xxx\yyyBundle\Entity\ABTexte
*/
class ABTexte implements DomainObjectInterface
{
/**
* @var integer $OID
*/
private $OID;
/**
* @var string $Text
*/
private $Text;
/**
* @var integer $Nr
*/
private $Nr;
/**
* Set OID
*
* @param integer $oID
* @return ABTexte
*/
public function setOID($oID)
{
$this->OID = $oID;
return $this;
}
/**
* Get OID
*
* @return integer
*/
public function getOID()
{
return $this->OID;
}
/**
* Set Text
*
* @param string $text
* @return ABTexte
*/
public function setText($text)
{
$this->Text = $text;
return $this;
}
/**
* Get Text
*
* @return string
*/
public function getText()
{
return $this->Text;
}
/**
* Set Nr
*
* @param integer $nr
* @return ABTexte
*/
public function setNr($nr)
{
$this->Nr = $nr;
return $this;
}
/**
* Get Nr
*
* @return integer
*/
public function getNr()
{
return $this->Nr;
}
/**
* @var \xxx\yyyBundle\Entity\ABKopf
*/
private $ABKopf;
/**
* Set ABKopf
*
* @param \xxx\yyyBundle\Entity\ABKopf $aBKopf
* @return ABTexte
*/
public function setABKopf(\xxx\yyyBundle\Entity\ABKopf $aBKopf = null)
{
$this->ABKopf = $aBKopf;
return $this;
}
/**
* Get ABKopf
*
* @return \xxx\yyyBundle\Entity\ABKopf
*/
public function getABKopf()
{
return $this->ABKopf;
}
/**
* Constructor
*/
public function __construct()
{
$this->ABKopf = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* Add ABKopf
*
* @param \xxx\yyyBundle\Entity\ABKopf $aBKopf
* @return ABTexte
*/
public function addABKopf(\xxx\yyyBundle\Entity\ABKopf $aBKopf)
{
$this->ABKopf[] = $aBKopf;
return $this;
}
/**
* Remove ABKopf
*
* @param \xxx\yyyBundle\Entity\ABKopf $aBKopf
*/
public function removeABKopf(\xxx\yyyBundle\Entity\ABKopf $aBKopf)
{
$this->ABKopf->removeElement($aBKopf);
}
public function getObjectIdentifier() {
return $this->Nr;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment