Advertisement
Guest User

expense

a guest
Mar 26th, 2020
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.46 KB | None | 0 0
  1. class Expense
  2. {
  3.  
  4.     private $title;
  5.     private $amount;
  6.     private $currencry;
  7.     private $description;
  8.     private $date;
  9.  
  10.     /**
  11.      * @return mixed
  12.      */
  13.     public function getTitle()
  14.     {
  15.         return $this->title;
  16.     }
  17.  
  18.     /**
  19.      * @param mixed $title
  20.      */
  21.     public function setTitle($title): void
  22.     {
  23.         $this->title = $title;
  24.     }
  25.  
  26.     /**
  27.      * @return mixed
  28.      */
  29.     public function getAmount()
  30.     {
  31.         return $this->amount;
  32.     }
  33.  
  34.     /**
  35.      * @param mixed $amount
  36.      */
  37.     public function setAmount($amount): void
  38.     {
  39.         $this->amount = $amount;
  40.     }
  41.  
  42.     /**
  43.      * @return mixed
  44.      */
  45.     public function getCurrencry()
  46.     {
  47.         return $this->currencry;
  48.     }
  49.  
  50.     /**
  51.      * @param mixed $currencry
  52.      */
  53.     public function setCurrencry($currencry): void
  54.     {
  55.         $this->currencry = $currencry;
  56.     }
  57.  
  58.     /**
  59.      * @return mixed
  60.      */
  61.     public function getDescription()
  62.     {
  63.         return $this->description;
  64.     }
  65.  
  66.     /**
  67.      * @param mixed $description
  68.      */
  69.     public function setDescription($description): void
  70.     {
  71.         $this->description = $description;
  72.     }
  73.  
  74.     /**
  75.      * @return mixed
  76.      */
  77.     public function getDate()
  78.     {
  79.         return $this->date;
  80.     }
  81.  
  82.     /**
  83.      * @param mixed $date
  84.      */
  85.     public function setDate($date): void
  86.     {
  87.         $this->date = $date;
  88.     }
  89.    
  90. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement