facet classafMorphia::Property
sys::Obj afMorphia::Property : sys::Facet
Marks a field as a property of a MongoDB document.
- implType
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
const Str? name
Name of the MongoDB object key this field maps to.
Defaults to the field name.