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