src/Aviatur/TrmBundle/Entity/HistoricalRate.php line 13

Open in your IDE?
  1. <?php
  2. namespace Aviatur\TrmBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * HistoricalRate
  6.  *
  7.  * @ORM\Table(name="historical_rate")
  8.  * @ORM\Entity(repositoryClass="Aviatur\TrmBundle\Repository\HistoricalRateRepository")
  9.  */
  10. class HistoricalRate
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer")
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var float
  22.      *
  23.      * @ORM\Column(name="saleRate", type="float")
  24.      */
  25.     private $saleRate;
  26.     /**
  27.      * @var float
  28.      *
  29.      * @ORM\Column(name="finantialRate", type="float")
  30.      */
  31.     private $finantialRate;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(name="conversionRate", type="text")
  36.      */
  37.     private $conversionRate;
  38.     
  39.     /**
  40.      * @var string
  41.      *
  42.      * @ORM\Column(name="conciliation", type="text")
  43.      */
  44.     private $conciliation;
  45.     /**
  46.      * @var \DateTime
  47.      *
  48.      * @ORM\Column(name="date", type="datetime")
  49.      */
  50.     private $date;
  51.     /**
  52.      * Get id
  53.      *
  54.      * @return int
  55.      */
  56.     public function getId()
  57.     {
  58.         return $this->id;
  59.     }
  60.     /**
  61.      * Set saleRate
  62.      *
  63.      * @param integer $saleRate
  64.      *
  65.      * @return HistoricalRate
  66.      */
  67.     public function setSaleRate($saleRate)
  68.     {
  69.         $this->saleRate $saleRate;
  70.         return $this;
  71.     }
  72.     /**
  73.      * Get saleRate
  74.      *
  75.      * @return int
  76.      */
  77.     public function getSaleRate()
  78.     {
  79.         return $this->saleRate;
  80.     }
  81.     /**
  82.      * Set finantialRate
  83.      *
  84.      * @param integer $finantialRate
  85.      *
  86.      * @return HistoricalRate
  87.      */
  88.     public function setFinantialRate($finantialRate)
  89.     {
  90.         $this->finantialRate $finantialRate;
  91.         return $this;
  92.     }
  93.     /**
  94.      * Get finantialRate
  95.      *
  96.      * @return int
  97.      */
  98.     public function getFinantialRate()
  99.     {
  100.         return $this->finantialRate;
  101.     }
  102.     /**
  103.      * Set conversionRate
  104.      *
  105.      * @param string $conversionRate
  106.      *
  107.      * @return HistoricalRate
  108.      */
  109.     public function setConversionRate($conversionRate)
  110.     {
  111.         $this->conversionRate $conversionRate;
  112.         return $this;
  113.     }
  114.     /**
  115.      * Get conversionRate
  116.      *
  117.      * @return string
  118.      */
  119.     public function getConversionRate()
  120.     {
  121.         return $this->conversionRate;
  122.     }
  123.         
  124.     /**
  125.      * Set conciliation
  126.      *
  127.      * @param string $conciliation
  128.      *
  129.      * @return HistoricalRate
  130.      */
  131.     public function setConciliation($conciliation)
  132.     {
  133.         $this->conciliation $conciliation;
  134.         return $this;
  135.     }
  136.     /**
  137.      * Get conciliation
  138.      *
  139.      * @return string
  140.      */
  141.     public function getConciliation()
  142.     {
  143.         return $this->conciliation;
  144.     }
  145.     /**
  146.      * Set date
  147.      *
  148.      * @param \DateTime $date
  149.      *
  150.      * @return HistoricalRate
  151.      */
  152.     public function setDate($date)
  153.     {
  154.         $this->date $date;
  155.         return $this;
  156.     }
  157.     /**
  158.      * Get date
  159.      *
  160.      * @return \DateTime
  161.      */
  162.     public function getDate()
  163.     {
  164.         return $this->date;
  165.     }
  166. }