Package com.maker.idmaker
Annotation Interface IDMaker
Annotation for fields that should have an ID generated before persisting.
- Since:
- 2024. 5. 31.
- Author:
- yongjunhong
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionint
The length of the random part of the ID.The type of characters to use for the random part of the ID.
-
Element Details
-
length
int lengthThe length of the random part of the ID.- Returns:
- the length of the random part of the ID
- Default:
- 7
-
type
GenerationType typeThe type of characters to use for the random part of the ID.- Returns:
- the type of characters to use for the random part of the ID
- Default:
- EN
-