diff --git a/Source/BusinessClass/Response.php b/Source/BusinessClass/Response.php new file mode 100644 index 0000000..9f5b5ab --- /dev/null +++ b/Source/BusinessClass/Response.php @@ -0,0 +1,81 @@ +id = $id; + $this->date = $date; + $this->titleForm = $titleForm; + $this->questionsResponses = $questionsResponses; + } + + /** + * @return int + */ + public function getId(): int + { + return $this->id; + } + + /** + * @return string + */ + public function getDate(): string + { + return $this->date; + } + + /** + * @param string $date + */ + public function setDate(string $date): void + { + $this->date = $date; + } + + /** + * @return string + */ + public function getTitleForm(): string + { + return $this->titleForm; + } + + /** + * @param string $titleForm + */ + public function setTitleForm(string $titleForm): void + { + $this->titleForm = $titleForm; + } + + /** + * @return array + */ + public function getQuestionsResponses(): array + { + return $this->questionsResponses; + } + + /** + * @param array $questionsResponses + */ + public function setQuestionsResponses(array $questionsResponses): void + { + $this->questionsResponses = $questionsResponses; + } +} \ No newline at end of file