Domain Create
Adds this constructor property to the generated create command of its DomainEntity, named Create{Entity}: a plain data class, with no annotations. An entity without such properties has no create command.
Nullability follows the entity property. A Kotlin default on the entity property is copied to the command, so val status: ApprovalStatus = ApprovalStatus.Pending makes status optional on create.
Properties
Link copied to clipboard
The command property name when it must differ from the derived one. Not supported on a PersistenceJoinManyThrough relation, which keeps its own name.
Link copied to clipboard
The command property type when it can't be derived, such as the id-type of a relation target. Like RestEntity, only the name is used. Unit means derived.