kotlin-nosql
kotlin-nosql copied to clipboard
Define a base class for document
Define a base class for document having id reference. A document schema should check the type of document.
abstract Document<P, T: DocumentSchema> {
val id : Id<P, T>? = null
}