From b1bab6104902bbdd8c641b50b68c17d74d553b19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20M=C3=A9ndez?= <45081533+FerMdez@users.noreply.github.com> Date: Sun, 9 May 2021 16:58:46 +0200 Subject: [PATCH] Delete user_dto.php --- assets/php/common/user_dto.php | 37 ---------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 assets/php/common/user_dto.php diff --git a/assets/php/common/user_dto.php b/assets/php/common/user_dto.php deleted file mode 100644 index 342eac7..0000000 --- a/assets/php/common/user_dto.php +++ /dev/null @@ -1,37 +0,0 @@ - Será eliminado en la siguiente práctica para usar el modelo relacional de nuestra BD. - - //Constructor: - function __construct($id, $username, $email, $password, $rol){ - $this->_id = $id; - $this->_username = $username; - $this->_email = $email; - $this->_password = $password; - $this->_rol = $rol; - } - - //Methods: - - //Getters && Setters: - public function setId($id){ $this->_id = $id; } - public function getId(){ return $this->_id; } - public function setName($username){ $this->_username = $username; } - public function getName(){ return $this->_username; } - public function setEmail($email){ $this->_email = $email; } - public function getEmail(){ return $this->_email; } - public function setPass($passwd){ $this->_password = $passwd; } - public function getPass(){ return $this->_password; } - public function setRol($rol){ $this->_rol = $rol; } - public function getRol(){ return $this->_rol; } - - } -?> \ No newline at end of file