Add files via upload

This commit is contained in:
OscarRui
2021-03-26 13:46:21 +01:00
committed by GitHub
parent 4c4528c499
commit 2d24fe23f5
2 changed files with 74 additions and 0 deletions

View File

@ -0,0 +1,30 @@
<?php
class RoomDTO {
//Attributes:
private $_id; //Room Id.
private $_numCol; //Num columns.
private $_numRows; //Num rows.
//Constructor:
function __construct($id, $numCol, $numRows){
$this->_id = $id;
$this->_numCol = $numCol;
$this->_numRows = $numRows;
}
//Methods:
//Getters && Setters:
public function setId($id){ $this->_id = $id; }
public function getId(){ return $this->_id; }
public function setNumCol($numCol){ $this->_numCol = $numCol; }
public function getNumCol(){ return $this->_numCol; }
public function setNumRows($numRows){ $this->_numRows = $numRows; }
public function getNumRows(){ return $this->_numRows; }
}
?>