Annotation to mark classes related to entity mechanics.
-
Required Element Summary
Required Elements
Gets the unique identifier for the entity.
-
Optional Element Summary
Optional Elements
Gets the groups that the entity belongs to.
-
Element Details
-
id
Gets the unique identifier for the entity.
- Returns:
- A string representing the unique identifier for the entity.
-
groups
Gets the groups that the entity belongs to.
- Returns:
- An array of strings representing the groups that the entity belongs to.
- Default:
{}