Annotation Interface SurrealName
Overrides the SurrealDB object key used when converting a Java field.
Unannotated fields keep the historical behavior and use the Java field name. For records, annotate the record component; the field-target annotation is available on the generated backing field used by the converter.
-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueThe SurrealDB object key to use for this field.- Returns:
- a non-blank SurrealDB object key
-