Model anatomy¶
An annotated source model produces several generated components. Each one has a separate role in the path from application input to backend storage.
Use these pages after Annotations when you need to understand the generated pieces, or use the Generated output contract when you already know which type or member you need.
Follow the generated pieces¶
Datacontains creation and update values.Modelrepresents an identified persisted value.Dependencycarries related identities during creation.Fieldsexposes generated field metadata for filters and paths.EntitySchemadescribes the engine-neutral stored shape.Entitymaps generated values to framework contracts.Repositoryexposes operations for one entity.Dormgroups generated entities and engine access.- Relationship paths resolve related models through generated metadata.
How the pieces work together¶
The annotated source is where the application declares its model shape. The
generator turns that source into Data, Model, Dependency, field metadata,
Entity, Repository, and Dorm types. The generated repository then uses
the selected engine to perform the operation against its backend or in-memory
store.
The application normally edits the annotated source and uses the generated types. Generated files are outputs of the builder and should be regenerated after source declarations change.