kotlin-nosql icon indicating copy to clipboard operation
kotlin-nosql copied to clipboard

Define a base class for document

Open cheptsov opened this issue 10 years ago • 0 comments

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
}

cheptsov avatar Mar 16 '14 07:03 cheptsov