package org.moire.ultrasonic.domain import androidx.room.Ignore abstract class GenericEntry : Identifiable { abstract override val id: String @Ignore open val name: String? = null override fun compareTo(other: Identifiable): Int { return this.id.toInt().compareTo(other.id.toInt()) } } interface Identifiable : Comparable { val id: String }