Indicates that if a property is represented as a document itself, the document fields are directly included in top document, rather than nesting it.
Ignores a field
Specify a key different from field name in your case class.
Indicates that if an Option
property is empty,
it will be represented by BSONNull
rather than being omitted.
Annotations to use on case classes that are being processed by macros.