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 = $user; return $this; } public function getUser() { return $this->user; } }