Andreas Sinz
02/08/2018, 9:04 PMAccountDto you need to check at runtime whether it is full or not and possibly throw an Exception when you get the wrong version). If you have two data classes, you can always be sure that the compiler yells at you when you forget to provide values or provide too many or when you try to pass the full version to a method that needs the slimmed down version