'required|integer|min:1', ]; } public function messages(): array { return [ 'other_template_id.required' => __('validation.required', ['attribute' => 'other_template_id']), 'other_template_id.integer' => __('validation.integer', ['attribute' => 'other_template_id']), 'other_template_id.min' => __('validation.min.numeric', ['attribute' => 'other_template_id', 'min' => 1]), ]; } }