> */ public function rules(): array { return [ 'order_id' => ['required', 'exists:orders'], 'sku' => ['string', 'nullable'], 'product_name' => ['required'], 'color' => ['string', 'nullable'], ]; } public function authorize(): bool { return true; } }