<?phpnamespaceApp\Http\Requests;classInquirySaveextendsBaseRequest{/** * Determine if the user is authorized to make this request. * * @return bool */publicfunctionauthorize(){returntrue;}/** * Get the validation rules that apply to the request. * * @return array */publicfunctionrules(){return['items'=>'required','items.*.goods_name'=>'required|string|max:100','items.*.brand_name'=>'required|string|max:100','items.*.inquiry_number'=>'required|integer','remark'=>'max:255|required',];}}