<?php

namespace App\Http\Requests;


class LinkRequest extends BaseRequest
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */

    public function rules()
    {
        return [
            'section_name' => 'required',
            'link' => 'required|regex:'.config('constant.VIMEO_VIDEO_LINK_VALIDATION'),
            'status' => 'required|numeric',
        ];
    }
}
