private function createPropertyEventData($event) { $this->notice->class = $event->class; $this->notice->object = $event->object; $this->notice->eventObject_id = $event->object->id; $this->notice->status = 0; $this->notice->event = $event->event; $this->notice->notify_user_id = $this->user->whereType('manager')->first()->id; $this->notice->save(); }