date_create = new DateTime(); $this->rating = 0; $this->comment = ''; } public function getID() { return $this->id; } public function setRider(Rider $rider) { $this->rider = $rider; return $this; } public function getRider() { return $this->rider; } public function setCustomer(Customer $customer) { $this->customer = $customer; return $this; } public function getCustomer() { return $this->customer; } public function setJobOrder(JobOrder $job_order) { $this->job_order = $job_order; return $this; } public function getJobOrder() { return $this->job_order; } public function getDateCreate() { return $this->date_create; } public function setRating($rating) { $this->rating = $rating; return $this; } public function getRating() { return $this->rating; } public function setComment($comment) { $this->comment = $comment; return $this; } public function getComment() { return $this->comment; } }