# Source: https://mikro-orm.io/api/core/function/Enum.md

# Enum<!-- -->

### Callable

* ****Enum**\<T>(options): (target, propertyName) => any

***

* #### Parameters

  * ##### options: [EnumOptions](https://mikro-orm.io/api/core/interface/EnumOptions.md)\<Partial\<any>> | () => [Dictionary](https://mikro-orm.io/api/core.md#Dictionary) = <!-- -->{}


  #### Returns (target, propertyName) => any

  * * **(target, propertyName): any

    - #### Parameters

      * ##### target: Partial\<any>
      * ##### propertyName: string

      #### Returns any