Annotations

Last modified: April 11, 2025

Introduction

An annotation can be used to add comments to a domain model.

For example, an order entity contains two decimal attributes, TotalPrice and Discount. You can add an annotation to note that, unlike the total price, the discount represents a percentage and not an amount of money.

Common Properties

Caption

The caption property contains the text of the annotation.