The problem

Your database table contains a number of data columns. You need to allow callers of your code to:

You also need to support navigation to related entity instances.

In classic Cúram, callers of your code had access full access to each field on the entity Dtls struct, and so there was no need (nor any way) to decide whether a particular field was:

Regarding navigation, in classic Cúram callers of your code had to perform their own navigation by executing queries on related entities, and seeding those queries with foreign key fields from an entity Dtls struct.

How do you add getters and setters to your entity interface?