> For the complete documentation index, see [llms.txt](https://koboo.gitbook.io/en2do/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://koboo.gitbook.io/en2do/usage/index/identifier-index.md).

# Identifier Index

The unique identifier / "primary key" of the entity.

By default, the `@Id` field of an entity is indexed. This can be disabled via `@NonIndex` if access should mostly be performed on other fields/queries than the unique identifier.

This should also be done if the `@Id` field isn't unique!

*Example of removing the index of the `@Id` field:*

```java
// Lombok's annotations go here..
public class Customer {

    @Id // en2do - define the identifier of the entity
    @NonIndex // en2do - delete the index of the identifier
    UUID uniqueId;
    
    // Other fields go here...
}

```
