|string> */ public function rules(): array { return [ 'customer_id' => 'required|integer|exists:customers,id', 'dns_manager_server_id' => 'required|integer|exists:dns_manager_servers,id', 'dns_manager_domain_id' => 'nullable|integer|exists:dns_manager_domain,id', 'service_id' => 'nullable|integer|exists:services,id', 'domain_name' => 'required|string|max:255', 'hosting_plan' => 'required|string|max:100', 'ftp_password' => 'nullable|string|min:8|max:100', ]; } }