Update user_dto.php

This commit is contained in:
Fernando Méndez 2021-04-08 11:03:53 +02:00 committed by GitHub
parent eb3563bc37
commit a54662295a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,19 +19,19 @@
$this->_rol = $rol; $this->_rol = $rol;
} }
//Methods: //Methods:
//Getters && Setters: //Getters && Setters:
public function setId($id){ $this->_id = $id; } public function setId($id){ $this->_id = $id; }
public function getId(){ return $this->_id; } public function getId(){ return $this->_id; }
public function setName($username){ $this->_username = $username; } public function setName($username){ $this->_username = $username; }
public function getName(){ return $this->_username; } public function getName(){ return $this->_username; }
public function setEmail($email){ $this->_email = $email; } public function setEmail($email){ $this->_email = $email; }
public function getEmail(){ return $this->_email; } public function getEmail(){ return $this->_email; }
public function setPass($passwd){ $this->_password = $passwd; } public function setPass($passwd){ $this->_password = $passwd; }
public function getPass(){ return $this->_password; } public function getPass(){ return $this->_password; }
public function setRol($rol){ $this->_rol = $rol; } public function setRol($rol){ $this->_rol = $rol; }
public function getRol(){ return $this->_rol; } public function getRol(){ return $this->_rol; }
} }
?> ?>