object_class = $this->objectClass; $model->admin_id = $this->admin_id; $model->before = $this->before??[]; if(!$this->after){ $this->after = 'is null or empty '; } $model->after = $this->after; $model->url = $this->url; $model->unid = $this->unid; $model->type1 = static::TYPE; $model->status = $this->status; $model->p1 = serialize($this->p1); $model->save(); } }