diff --git a/panel_admin/includes/film_dto.php b/panel_admin/includes/film.php similarity index 97% rename from panel_admin/includes/film_dto.php rename to panel_admin/includes/film.php index 3b24897..475eb75 100644 --- a/panel_admin/includes/film_dto.php +++ b/panel_admin/includes/film.php @@ -1,37 +1,37 @@ -_id = $id; - $this->_tittle = $tittle; - $this->_duration = $duration; - $this->_language = $language; - $this->_description = $description; - } - - //Methods: - - //Getters && Setters: - public function setId($id){ $this->_id = $id; } - public function getId(){ return $this->_id; } - public function setTittle($tittle) {$this->_tittle = $tittle; } - public function getTittle(){return $this->_tittle;} - public function setDuration($duration){$this->_duration = $duration; } - public function getDuration() {return $this->_duration;} - public function setLanguage($language) {$this->_language = $language; } - public function getLanguage(){return $this->_language;} - public function setDescription($description){ $this->_description = $description;} - public function getDescription(){return $this->_description;} - } +_id = $id; + $this->_tittle = $tittle; + $this->_duration = $duration; + $this->_language = $language; + $this->_description = $description; + } + + //Methods: + + //Getters && Setters: + public function setId($id){ $this->_id = $id; } + public function getId(){ return $this->_id; } + public function setTittle($tittle) {$this->_tittle = $tittle; } + public function getTittle(){return $this->_tittle;} + public function setDuration($duration){$this->_duration = $duration; } + public function getDuration() {return $this->_duration;} + public function setLanguage($language) {$this->_language = $language; } + public function getLanguage(){return $this->_language;} + public function setDescription($description){ $this->_description = $description;} + public function getDescription(){return $this->_description;} + } ?> \ No newline at end of file diff --git a/panel_admin/includes/film_dto_interface.php b/panel_admin/includes/film_dto_interface.php deleted file mode 100644 index 23931f3..0000000 --- a/panel_admin/includes/film_dto_interface.php +++ /dev/null @@ -1,14 +0,0 @@ - \ No newline at end of file