['required', 'max:255'], ]; } public function getDto(): Update { return new Update(name: $this->input('name')); } }