Identifier Index
The unique identifier / "primary key" of the entity.
// 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...
}
Last updated