cml_add_entity
Adds a new entity to an aggregate within a bounded context, specifying attributes and root status to model domain-driven design.
Instructions
Add an entity to an aggregate
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the entity | |
| attributes | No | Entity attributes | |
| contextName | Yes | Name of the bounded context | |
| aggregateName | Yes | Name of the aggregate | |
| aggregateRoot | No | Whether this is the aggregate root |