diff --git a/panel_manager/includes/hall.php b/panel_manager/includes/hall.php new file mode 100644 index 0000000..9689f52 --- /dev/null +++ b/panel_manager/includes/hall.php @@ -0,0 +1,36 @@ +_number = $number; + $this->_idcinema = $idcinema; + $this->_numRows = $numRows; + $this->_numCol = $numCol; + } + + //Methods: + + //Getters && Setters: + public function setNumber($number){ $this->_number = $number; } + public function getNumber(){ return $this->_number; } + + public function setIdcinema($idcinema){ $this->_idcinema = $idcinema; } + public function getIdcinema(){ return $this->_idcinema; } + + public function setNumRows($numRows){ $this->_numRows = $numRows; } + public function getNumRows(){ return $this->_numRows; } + + public function setNumCol($numCol){ $this->_numCol = $numCol; } + public function getNumCol(){ return $this->_numCol; } + + + + } +?> \ No newline at end of file diff --git a/panel_manager/includes/session.php b/panel_manager/includes/session.php new file mode 100644 index 0000000..fb1bd9a --- /dev/null +++ b/panel_manager/includes/session.php @@ -0,0 +1,49 @@ +_id = $id; + $this->_idfilm = $idfilm; + $this->_idhall = $idhall; + $this->_idcinema = $idcinema; + $this->_date = $date; + $this->_startTime = $startTime; + $this->_seatPrice = $seatPrice; + $this->_format = $format; + } + + public function setId($id){ $this->_id = $id; } + public function getId(){ return $this->_id; } + + public function setIdfilm($idfilm){ $this->_idfilm = $idfilm; } + public function getIdfilm(){ return $this->_idfilm; } + + public function setIdhall($idhall){ $this->_idhall = $idhall; } + public function getIdhall(){ return $this->_idhall; } + + public function setIdcinema($cinema){ $this->_idcinema = $idcinema; } + public function getIdcinema(){ return $this->_idcinema; } + + public function setDate($date){ $this->_date = $date; } + public function getDate(){ return $this->_date; } + + public function setStartTime($startTime){ $this->_startTime = $startTime; } + public function getStartTime(){ return $this->_startTime; } + + public function setSeatPrice($seatPrice){ $this->_seatPrice = $seatPrice; } + public function getSeatPrice(){ return $this->_seatPrice; } + + public function setFormat($format){ $this->_format = $format; } + public function getFormat(){ return $this->_format; } + + } +?> \ No newline at end of file