From 87a8770bb45deec37c928270d32b6db0e2226da7 Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Sun, 3 Mar 2019 20:13:16 -0500 Subject: [PATCH] Create entity file for supported areas --- src/Entity/SupportedArea.php | 85 ++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 src/Entity/SupportedArea.php diff --git a/src/Entity/SupportedArea.php b/src/Entity/SupportedArea.php new file mode 100644 index 00000000..c8914998 --- /dev/null +++ b/src/Entity/SupportedArea.php @@ -0,0 +1,85 @@ +date_create = new DateTime(); + } + + public function getID() + { + return $this->id; + } + + public function setDateCreate(DateTime $date_create) + { + $this->date_create = $date_create; + return $this; + } + + public function getDateCreate() + { + returh $this->date_Create; + } + + public function setName($name) + { + $this->name = $name; + return $this; + } + + public function getName() + { + return $this->name; + } + + public function setSupportedArea(Polygon $polygon) + { + $this->supported_area = $polygon; + + return $this; + } + + public function getSupportedArea() + { + return $this->supported_area; + } +}