facet classafMorphia::Property

sys::Obj
  afMorphia::Property : sys::Facet

@Serializable

Marks a field as a property of a MongoDB document.

implType

Source

const Type? implType

The implementation Type to be instantiated should this field reference a mixin or a superclass. Used when mapping from MongoDB documents to Fantom objects.

Defaults to the field type.

name

Source

const Str? name

Name of the MongoDB object key this field maps to.

Defaults to the field name.