$this->id, "name"=> $this->name, "case"=> $this->case, "to"=> json_decode($this->to), "editor"=> UserApi::getById($this->editor_id), "created_at"=> $this->created_at, "updated_at"=> $this->updated_at, ]; } }