From 7898595bff7a47241409246b2858e1de97a98aa1 Mon Sep 17 00:00:00 2001 From: Kendrick Chan Date: Mon, 26 Oct 2020 16:30:14 +0800 Subject: [PATCH] Add new entity for customer vehicle warranty code history #525 --- src/Entity/CVWarrantyHistory.php | 94 ++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 src/Entity/CVWarrantyHistory.php diff --git a/src/Entity/CVWarrantyHistory.php b/src/Entity/CVWarrantyHistory.php new file mode 100644 index 00000000..ec13e178 --- /dev/null +++ b/src/Entity/CVWarrantyHistory.php @@ -0,0 +1,94 @@ +date_create = new DateTime(); + } + + public function getID() + { + return $this->id; + } + + public function getDateCreate() + { + return $this->date_create; + } + + public function setWarrantyCode($warranty_code) + { + $this->warranty_code = $warranty_code; + return $this; + } + + public function getWarrantyCode() + { + return $this->warranty_code; + } + + public function setCVID($cv_id) + { + $this->cv_id = $cv_id; + return $this; + } + + public function getCVID() + { + return $this->cv_id; + } + + public function setUser($user) + { + $this->user; + return $this; + } + + public function getUser() + { + return $this->user; + } +}