# ModelProjectionBaseClass

TYPE in `@skmtc/core 0.63.4`

The class that `toModelProjectionBase` returns: its statics, and a
constructor that gives a `ModelProjectionInstance`.

## Signature

```ts
import type { ModelProjectionBaseClass } from '@skmtc/core'

interface ModelProjectionBaseClass<EnrichmentType = undefined, IdType extends IdentifierType = IdentifierType, ProjectionOptions = undefined>
```

## Properties

- `new` ((args: ModelProjectionArgs<EnrichmentType, ProjectionOptions>) => ModelProjectionInstance<EnrichmentType, ProjectionOptions>, required)
- `lang` (Lang, required): The language of the base class. See `LangSnippetConstructor`.
- `id` (string, required): The generator's id.
- `type` ('model', required)
- `toIdentifierName` ((args: ToModelIdentifierNameArgs<EnrichmentType, ProjectionOptions>) => string, required): The config's `toIdentifierName`.
- `toIdentifierType` ((ref: RefParts, context: GenerateContextType) => IdType, required): The config's `toIdentifierType`.
- `toExportPath` ((args: ToModelExportPathArgs<EnrichmentType, ProjectionOptions>) => string, required): The config's `toExportPath`.
- `toEnrichmentDefaults` ((args: ToModelEnrichmentsArgs) => EnrichmentType | undefined, required): Calls the config's `toEnrichmentDefaults`; returns `undefined` when it has none.
