sdeleuze
02/13/2019, 4:01 PMmasc3d
02/13/2019, 5:03 PMoverride fun getId(): Long? = this.idmasc3d
02/13/2019, 5:03 PMsdeleuze
02/13/2019, 5:19 PMdata classes it works yes, even if uglysdeleuze
02/13/2019, 5:19 PMclass User(
		id: Long?,
		val firstName: String,
		val lastName: String) : Persistable<Long?> {
	override fun isNew() = (id == null)
	override fun getId(): Long? = this.id
}sdeleuze
02/13/2019, 5:20 PMdata classes there is a declaration clashsdeleuze
02/13/2019, 5:22 PMid, so still pretty uglysdeleuze
02/13/2019, 5:32 PMsdeleuze
02/13/2019, 5:36 PMmasc3d
02/14/2019, 12:58 AMthanksforallthefish
02/14/2019, 7:34 AMmasc3d
02/14/2019, 9:34 AMmasc3d
02/14/2019, 9:44 AM