src/InsuranceBundle/Entity/Payouts.php line 8

Open in your IDE?
  1. <?php
  2. namespace InsuranceBundle\Entity;
  3. /**
  4.  * Payouts
  5.  */
  6. class Payouts
  7. {
  8.     /**
  9.      * @var integer
  10.      */
  11.     private $id;
  12.     /**
  13.      * @var integer
  14.      */
  15.     private $month;
  16.     /**
  17.      * @var integer
  18.      */
  19.     private $year;
  20.     /**
  21.      * @var float
  22.      */
  23.     private $amount;
  24.     /**
  25.      * Get id
  26.      *
  27.      * @return integer
  28.      */
  29.     public function getId()
  30.     {
  31.         return $this->id;
  32.     }
  33.     /**
  34.      * Set month
  35.      *
  36.      * @param integer $month
  37.      *
  38.      * @return Payouts
  39.      */
  40.     public function setMonth($month)
  41.     {
  42.         $this->month $month;
  43.         return $this;
  44.     }
  45.     /**
  46.      * Get month
  47.      *
  48.      * @return integer
  49.      */
  50.     public function getMonth()
  51.     {
  52.         return $this->month;
  53.     }
  54.     /**
  55.      * Set year
  56.      *
  57.      * @param integer $year
  58.      *
  59.      * @return Payouts
  60.      */
  61.     public function setYear($year)
  62.     {
  63.         $this->year $year;
  64.         return $this;
  65.     }
  66.     /**
  67.      * Get yeark
  68.      *
  69.      * @return integer
  70.      */
  71.     public function getYear()
  72.     {
  73.         return $this->year;
  74.     }
  75.     /**
  76.      * Set amount
  77.      *
  78.      * @param float $amount
  79.      *
  80.      * @return Payouts
  81.      */
  82.     public function setAmount($amount)
  83.     {
  84.         $this->amount $amount;
  85.         return $this;
  86.     }
  87.     /**
  88.      * Get amount
  89.      *
  90.      * @return float
  91.      */
  92.     public function getAmount()
  93.     {
  94.         return $this->amount;
  95.     }
  96.     public function __toString()
  97.     {
  98.         return (string) $this->month.'.'.$this->year;
  99.     }
  100. }