From a912e5806e6923e6ccde2e1194cbeb9d1d6dfa5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mu=C3=B1oz=20Garcia?= <73303506+danimu03@users.noreply.github.com> Date: Thu, 8 Apr 2021 14:57:40 +0200 Subject: [PATCH] Add new folder includes --- panel_admin/includes/film_dto.php | 33 +++++++++++++++++++++ panel_admin/includes/film_dto_interface.php | 12 ++++++++ 2 files changed, 45 insertions(+) create mode 100644 panel_admin/includes/film_dto.php create mode 100644 panel_admin/includes/film_dto_interface.php diff --git a/panel_admin/includes/film_dto.php b/panel_admin/includes/film_dto.php new file mode 100644 index 0000000..e9e70f2 --- /dev/null +++ b/panel_admin/includes/film_dto.php @@ -0,0 +1,33 @@ +_id = $id; + $this->_tittle = $tittle; + $this->_duration = $duration; + $this->_language = $language; + } + + //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;} + } +?> \ No newline at end of file diff --git a/panel_admin/includes/film_dto_interface.php b/panel_admin/includes/film_dto_interface.php new file mode 100644 index 0000000..6803140 --- /dev/null +++ b/panel_admin/includes/film_dto_interface.php @@ -0,0 +1,12 @@ + \ No newline at end of file