Skip to content

Instantly share code, notes, and snippets.

@ppeiris
Last active December 27, 2015 09:39
Show Gist options
  • Save ppeiris/7305368 to your computer and use it in GitHub Desktop.
Save ppeiris/7305368 to your computer and use it in GitHub Desktop.
<?php
namespace Entity\Tables;
use Zend\InputFilter\InputFilterAwareInterface;
use Zend\InputFilter\InputFilterInterface;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
/**
* @ORM\Entity
*/
class tAccountPasswordReset {
/**
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
* @ORM\Column(type="integer")
*/
protected $Id;
/** @ORM\Column(type="integer") */
protected $accountId;
/**
* @ORM\ManyToOne(targetEntity="tAccounts", inversedBy="accountPassReset")
* @ORM\JoinColumn(name="accountId", referencedColumnName="accountId")
*/
protected $account;
public function __construct() {
}
public function getAccount()
{
return $this->account;
}
public function setAccount(tAccounts $taccount = null)
{
$this->account = $taccount;
}
public function __get($name) {
return $this->{$name};
}
public function __set($name, $val) {
$this->{$name} = $val;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment