Created
November 9, 2012 02:50
-
-
Save mjhale/4043416 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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