Maps a Java class to a database table.
This annotation identifes the class as a Litebridge entity.
The entity needs to be registered with a Litebridge instance before use; either explicitly or automatically via an entity package scanner.
-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueSpecifies the name of the database table that the annotated class maps to.This value is used in Object-Relational Mapping (ORM) to bind the entity class to a specific table for data persistence operations.
- Returns:
- The name of the database table.
-