$this->id, "user" => new UserResource($this->user), "type" => $this->type->label(), "from" => $this->from->toDisplayString(), "to" => $this->to->toDisplayString(), "commment" => $this->comment, ]; } }