'required|unique:pricings,name,'.$request->id, 'monthly_cost' =>'required', 'yearly_cost' =>'required', 'status' =>'required' ]; } /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } }