Abstract
The type of the entity.
Serializes the entity to a JSON string.
Whether to format the JSON string with indentation.
Whether to mask sensitive fields.
The serialized JSON string.
Static
fromJSONCreates an entity instance from a JSON string.
The type of the entity.
The JSON string to parse.
The created entity instance.
Static
getGenerates a JSON schema for the entity.
The type of the entity.
The JSON schema for the entity.
Abstract base class for creating smart entities with schema validation, JSON serialization, and masking capabilities.