'required|max:255|unique:coupons,coupon_code,'.$this->id, 'date' => 'required', 'coupon_title' => 'required' ]; } /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } }