id = $EmergencyResponse->id; $this->accident_id = $EmergencyResponse->accident_id; $this->type_first = $EmergencyResponse->type_first; $this->type_second = $EmergencyResponse->type_second; $this->type_third = $EmergencyResponse->type_third; $this->type_fourth = $EmergencyResponse->type_fourth; $this->start_time = $EmergencyResponse->start_time; $this->is_time_period = $EmergencyResponse->is_time_period; $this->end_time = (int)$EmergencyResponse->end_time; $this->is_important = $EmergencyResponse->is_important; $this->important_content = $EmergencyResponse->important_content; $this->content = $EmergencyResponse->content; $this->rules = $EmergencyResponse->rules; $this->assess = $EmergencyResponse->assess; $this->assess_two = $EmergencyResponse->assess_two; $this->source_data = $EmergencyResponse->source_data; $this->dimension = $EmergencyResponse->dimension; } }