reviewModel.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?php
  2. class reviewModel extends Staple_Model
  3. {
  4. private $db;
  5. private $id;
  6. private $accountId;
  7. private $payPeriodMonth;
  8. private $payPeriodYear;
  9. private $supervisorId;
  10. /**
  11. * @return mixed
  12. */
  13. public function getId()
  14. {
  15. return $this->id;
  16. }
  17. /**
  18. * @param mixed $id
  19. */
  20. public function setId($id)
  21. {
  22. $this->id = $id;
  23. }
  24. /**
  25. * @return mixed
  26. */
  27. public function getAccountId()
  28. {
  29. return $this->accountId;
  30. }
  31. /**
  32. * @param mixed $accountId
  33. */
  34. public function setAccountId($accountId)
  35. {
  36. $this->accountId = $accountId;
  37. }
  38. /**
  39. * @return mixed
  40. */
  41. public function getPayPeriodMonth()
  42. {
  43. return $this->payPeriodMonth;
  44. }
  45. /**
  46. * @param mixed $payPeriodMonth
  47. */
  48. public function setPayPeriodMonth($payPeriodMonth)
  49. {
  50. $this->payPeriodMonth = $payPeriodMonth;
  51. }
  52. /**
  53. * @return mixed
  54. */
  55. public function getPayPeriodYear()
  56. {
  57. return $this->payPeriodYear;
  58. }
  59. /**
  60. * @param mixed $payPeriodYear
  61. */
  62. public function setPayPeriodYear($payPeriodYear)
  63. {
  64. $this->payPeriodYear = $payPeriodYear;
  65. }
  66. /**
  67. * @return mixed
  68. */
  69. public function getSupervisorId()
  70. {
  71. return $this->supervisorId;
  72. }
  73. /**
  74. * @param mixed $supervisorId
  75. */
  76. public function setSupervisorId($supervisorId)
  77. {
  78. $this->supervisorId = $supervisorId;
  79. }
  80. function __construct($year, $month, $uid)
  81. {
  82. $this->db = Staple_DB::get();
  83. echo $uid;
  84. }
  85. }
  86. ?>