martin
09/16/2019, 4:44 PMclass Person(val name: String, val lastName: String)
class Employee(val name: String, val lastName: String): Person(name, lastName)
but is there a way to have that Employee class just inherit all the properties of Customer, without listing them all explicitly as properties ? my guess is no, but I may be missing somethingJukka Siivonen
09/16/2019, 4:55 PMJukka Siivonen
09/16/2019, 4:58 PMJukka Siivonen
09/16/2019, 4:59 PMJukka Siivonen
09/16/2019, 4:59 PMJohan Alkstål
09/16/2019, 5:04 PM