dumptruckman
03/03/2020, 3:25 PMMike
03/03/2020, 3:53 PMnull for the id in a data class. So the persistence layer, and your code, can tell if this is a new entity, or an existing one based on id value. It is still a val, and leverages the copy function to create the new instance with the id populated.dumptruckman
03/03/2020, 3:54 PMdumptruckman
03/03/2020, 4:09 PMdumptruckman
03/03/2020, 4:23 PMdumptruckman
03/03/2020, 6:43 PMdumptruckman
03/03/2020, 6:43 PM