<?php

namespace App\Http\Requests;


class CreditReportProviderRequest extends BaseRequest
{

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [

            'link'=> 'required|regex:'.config('constant.REPORT_PROVIDER_LINK_VALIDATION'),

            'source_type' => 'required|unique:creditreport_providers,company_type'
        ];
    }
}
