Skip to content

Instantly share code, notes, and snippets.

@mjhale
Created November 9, 2012 02:50
Show Gist options
  • Save mjhale/4043416 to your computer and use it in GitHub Desktop.
Save mjhale/4043416 to your computer and use it in GitHub Desktop.
<?php
namespace Slumlords\Bundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Slumlords\Bundle\Entity\bank
*
* @ORM\Table()
* @ORM\Entity
*/
class bank
{
/**
* @var integer $accountID
*
* @ORM\Column(name="accountID", type="integer")
* @ORM\Id
*/
private $accountID;
/**
* @var double $amount
*
* @ORM\Column(name="amount", type="double")
*/
private $amount;
/**
* Set accountID
*
* @param integer $accountID
* @return bank
*/
public function setAccountID($accountID)
{
$this->accountID = $accountID;
return $this;
}
/**
* Get accountID
*
* @return integer
*/
public function getAccountID()
{
return $this->accountID;
}
/**
* Set amount
*
* @param double $amount
* @return bank
*/
public function setAmount(\double $amount)
{
$this->amount = $amount;
return $this;
}
/**
* Get amount
*
* @return double
*/
public function getAmount()
{
return $this->amount;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment