['required', 'integer', 'min:1', 'max:24'], ]; } public function messages(): array { return [ 'months.required' => 'Vui lòng chọn số tháng gia hạn.', 'months.integer' => 'Số tháng gia hạn không hợp lệ.', 'months.min' => 'Số tháng gia hạn tối thiểu là 1.', 'months.max' => 'Số tháng gia hạn tối đa là 24.', ]; } }