Data class being used by other classes as parameter
I want to use data classes to store user input and computed results. Then convert the data classes to Entity and update the data base.
The problem is I'm not clear on the best practices for using data classes.
I have read the documentation : https://kotlinlang.org/docs/data-classes.html along with other sources. However, they don't have more complex examples of how different classes are supposed to access...