$object->getCompanyId(), 'currency_id' => $object->getCurrency(), ]; } /** * @return array */ protected function rules(): array { return [ 'company_id' => 'required', 'currency_id' => 'required', ]; } /** * @return array */ protected function messages(): array { return []; } }