# MongooseServiceRegistrationOptions

`interface` in `plugin-mongoose` · v0.4.2

<https://docs.seedcord.org/packages/plugin-mongoose/0.4.2/interfaces/mongoose-service-registration-options>

Extra configuration supplied to `@RegisterMongooseService`.

```ts
interface MongooseServiceRegistrationOptions
```

## Properties

### modelName

```ts
readonly modelName: string
```

Optional override for the mongoose model name. Mongoose derives the collection from it by pluralizing, so `user` reads and writes the `users` collection.

Set this when the model name differs from the service key.
